scvi-tools icon indicating copy to clipboard operation
scvi-tools copied to clipboard

Issues on Windows- What Linux version to use.

Open Mari123i opened this issue 2 years ago • 3 comments

Hello dear developers,

I am going to work with your tools in my bachelors thesis. That being said, I had trouble using it on windows. As suggested, I am going to switch to Linux. I have no clue about Linux and want to ask for your advice, what version to use to work with your tools optimally.

Greetings,

Mariam

Mari123i avatar Jun 08 '22 12:06 Mari123i

Hey @Mari123i!

I came upon your post because I usually check the Issues of a software before installing...and I'm on a Windows system as well.
Here are a few pointers (mostly on getting help efficiently).

I had trouble using it on windows

  • What were you doing? Did you get an error message? If you do not mention this & in a way that can be reproduced, the developers must ask you for that info before they can test your situation & help you: this wastes time for everyone.
  • More detail is needed about your Windows system to help trace the cause of the problem. You can use the sys python module for that and use the output of sys.platform and sys.version.
  • Also, how did you install the software (assuming your problem is not an installation issue): via pip, conda?

Assuming the pyproject info (in scvi-tools/pyproject.toml) is correct, the software can run in Microsoft Windows OS. If however, the software can only work on a Windows Subsystem for Linux2 (WSL2) partition, then that file needs amending to something like this:

~"Operating System :: Microsoft :: Windows",~
"Operating System :: POSIX :: Linux, Windows-WSL2"

In that case, you could install WSL2 on your current machine by followings these WSL2 installation instructions from Microsoft.

Happy learning!

CatChenal avatar Jun 08 '22 19:06 CatChenal

Hello, Thank you for the tips! I opened it up in another thread what the concrete errors and issues were. Since that is an reocurring issue for me, with unrelated packages. I decided to switch to Linux, hence I am asking what version to use (so what version did the developers test/develop it on) so it runs without problems..

Hey @Mari123i!

I came upon your post because I usually check the Issues of a software before installing...and I'm on a Windows system as well. Here are a few pointers (mostly on getting help efficiently).

I had trouble using it on windows

  • What were you doing? Did you get an error message? If you do not mention this & in a way that can be reproduced, the developers must ask you for that info before they can test your situation & help you: this wastes time for everyone.
  • More detail is needed about your Windows system to help trace the cause of the problem. You can use the sys python module for that and use the output of sys.platform and sys.version.
  • Also, how did you install the software (assuming your problem is not an installation issue): via pip, conda?

Assuming the pyproject info (in scvi-tools/pyproject.toml) is correct, the software can run in Microsoft Windows OS. If however, the software can only work on a Windows Subsystem for Linux2 (WSL2) partition, then that file needs amending to something like this:

~"Operating System :: Microsoft :: Windows",~ "Operating System :: POSIX :: Linux, Windows-WSL2"

In that case, you could install WSL2 on your current machine by followings these WSL2 installation instructions from Microsoft.

Happy learning!

Mari123i avatar Jun 08 '22 20:06 Mari123i

Ubuntu 18 or 20 should work just fine. @CatChenal you are correct that the pip install will not work on windows natively. However, if one installs jax first using this repo, then the pip install should work just fine.

adamgayoso avatar Jun 08 '22 22:06 adamgayoso

Closing due to inactivity.

adamgayoso avatar Sep 12 '22 20:09 adamgayoso