Skip to content

Cannot pip install torchvision==0.8.1+cu110 (python 3.9) #3046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ihmc3jn09hk opened this issue Nov 25, 2020 · 3 comments
Closed

Cannot pip install torchvision==0.8.1+cu110 (python 3.9) #3046

ihmc3jn09hk opened this issue Nov 25, 2020 · 3 comments

Comments

@ihmc3jn09hk
Copy link

🐛 Bug

Install Pytorch stable failed

$ pip3 install torch==1.7.0+cu110 torchvision==0.8.1+cu110 torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
Looking in links: https://download.pytorch.org/whl/torch_stable.html
ERROR: Could not find a version that satisfies the requirement torch==1.7.0+cu110 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch==1.7.0+cu110

To Reproduce

Steps to reproduce the behavior:
Use the following command

1. pip3 install torch==1.7.0+cu110 torchvision==0.8.1+cu110 torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html

After browsing through https://download.pytorch.org/whl/torch_stable.html, I wonder the issue is related to Python 3.9.
The tested environment is:
Python : 3.9
Cuda 11.1
Ubuntu 20.04.

@vfdev-5 vfdev-5 changed the title Cannot pip install torchvision==0.8.1+cu110 Cannot pip install torchvision==0.8.1+cu110 (python 3.9) Nov 25, 2020
@vfdev-5
Copy link
Collaborator

vfdev-5 commented Nov 25, 2020

@ihmc3jn09hk yes, it is related to Python 3.9. The binaries for Pytorch, Torchvision and others are only available for Python 3.6, 3.7 and 3.8.

@ihmc3jn09hk
Copy link
Author

@ihmc3jn09hk yes, it is related to Python 3.9. The binaries for Pytorch, Torchvision and others are only available for Python 3.6, 3.7 and 3.8.

Thank you. Will there be a release day of support for Python 3.9?

@datumbox
Copy link
Contributor

Thanks for reporting @ihmc3jn09hk.

Yes we are looking into it. There is already a PR #3041 that adds Python 3.9 on the CI. I don't have a concrete date yet, but it's something we will support on the future. You can be notified if you subscribe to the aforementioned PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants