ndeutschmann / zunis

Normalizing flows for neural importance sampling
https://zunis.readthedocs.io
MIT License
33 stars 6 forks source link

updated the requirements #9

Closed ndeutschmann closed 3 years ago

ndeutschmann commented 3 years ago

@NGoetz Could you please also try to pip install -r requirements.txt in a clean venv?

NGoetz commented 3 years ago

ERROR: Could not find a version that satisfies the requirement torch==1.6.0 ERROR: No matching distribution found for torch==1.6.0

Afaik the package was called pytorch up to and including 1.6.0 . Afterwards it is torch.

ndeutschmann commented 3 years ago

As far as I can tell, it does exist in 1.6.0:

https://pypi.org/project/torch/1.6.0

This works with python 3.8.1 on yoshi. Which version are you using?

On Fri 5 Mar 2021 at 16:38, Niklas Götz notifications@github.com wrote:

ERROR: Could not find a version that satisfies the requirement torch==1.6.0 ERROR: No matching distribution found for torch==1.6.0

Afaik the package was called pytorch up to and including 1.6.0 . Afterwards it is torch.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ndeutschmann/zunis/pull/9#issuecomment-791496920, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6B5SOYTU3FE5FAUX6R4D3TCD3GZANCNFSM4YVIX7KA .

NGoetz commented 3 years ago

I was using 3.9.1 on my laptop. I tried again with 3.8.1 for which it works on my machine too.

ndeutschmann commented 3 years ago

Apparently pytorch does not support 3.9 yet. Good to know

On Fri 5 Mar 2021 at 17:29, Niklas Götz notifications@github.com wrote:

I was using 3.9.1 on my laptop. I tried again with 3.8.1 for which it works on my machine too.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ndeutschmann/zunis/pull/9#issuecomment-791530756, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6B5SLWEZP3YKWB5YKYZOTTCEBF7ANCNFSM4YVIX7KA .

NGoetz commented 3 years ago

The Pytorch website says: NOTE: Python 3.9 users will need to add '-c=conda-forge' for installation conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch