# Problems importing scvi \[Windows\]

**URL:** <https://discourse.scverse.org/t/problems-importing-scvi-windows/914>\
**Category:** scvi-tools\
**Tags:** scvi\
**Created:** [November 9, 2022, 11:17pm UTC](https://discourse.scverse.org/t/problems-importing-scvi-windows/914 "2022-11-09T23:17:19Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![martinkim0](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/martinkim0/32/881_2.png) [@martinkim0](https://discourse.scverse.org/u/martinkim0)\
**Post date:** [August 29, 2023, 2:18am UTC](https://discourse.scverse.org/t/problems-importing-scvi-windows/914/21 "2023-08-29T02:18:56Z")

</div>

Hi, can you check if you have a CUDA-supported installation of PyTorch? `torch.cuda.is_available` is sufficient

---

<div class="post-metadata">

**Author:** ![hamidghaedi](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/hamidghaedi/32/777_2.png) [@hamidghaedi](https://discourse.scverse.org/u/hamidghaedi)\
**Post date:** [August 29, 2023, 5:05am UTC](https://discourse.scverse.org/t/problems-importing-scvi-windows/914/22 "2023-08-29T05:05:34Z")

</div>

Thanks @martinkim0 for your reply. Running `torch.cuda.is_available` returned `False`. Then I followed the instruction posted [here](https://stackoverflow.com/questions/57238344/i-have-a-gpu-and-cuda-installed-in-windows-10-but-pytorchs-torch-cuda-is-availa) to resolve the issue. Now it is running fine with making use of GPU.

---

<div class="post-metadata">

**Author:** ![martinkim0](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/martinkim0/32/881_2.png) [@martinkim0](https://discourse.scverse.org/u/martinkim0)\
**Post date:** [August 29, 2023, 4:22pm UTC](https://discourse.scverse.org/t/problems-importing-scvi-windows/914/23 "2023-08-29T16:22:02Z")

</div>

Awesome, glad you were able to resolve it!

[Previous page](https://discourse.scverse.org/t/problems-importing-scvi-windows/914.md?page=1)
