# Problem when installing "lightning.gpu"

**URL:** <https://discuss.pennylane.ai/t/problem-when-installing-lightning-gpu/3746>\
**Category:** PennyLane Help\
**Created:** [November 28, 2023, 11:19pm UTC](https://discuss.pennylane.ai/t/problem-when-installing-lightning-gpu/3746 "2023-11-28T23:19:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![CatalinaAlbornoz](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/catalinaalbornoz/32/1196_2.png) [@CatalinaAlbornoz](https://discuss.pennylane.ai/u/CatalinaAlbornoz)\
**Post date:** [November 29, 2023, 4:15am UTC](https://discuss.pennylane.ai/t/problem-when-installing-lightning-gpu/3746/2 "2023-11-29T04:15:05Z")

</div>

Hi @Bach_Bao, welcome to the Forum!

I think you might be missing custatevec, which is an NVIDIA library, and the CUDA version is too high.  
I would recommend creating a new virtual environment and running the following:

```auto
python -m pip install pennylane custatevec-cu11 pennylane-lightning-gpu

```

Also, note that `lightning.gpu` requires a CUDA compute capability of SM7.0 or newer (Volta era and newer), so make sure that your GPU is compatible. You can find more details in the answer by mlxd [here](https://discuss.pennylane.ai/t/issues-installing-and-running-pennylane-lightning-gpu/3612/2).

Let me know if this solves your issue!

---

_[View the full topic](https://discuss.pennylane.ai/t/problem-when-installing-lightning-gpu/3746)._
