question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot pip install torchvision==0.8.0+cu110

See original GitHub issue

🐛 Bug

Cannot pip install torchvision==0.8.0+cu110

To Reproduce

Steps to reproduce the behavior:

  1. Copy command from pytorch website.
  2. pip install torch==1.7.0+cu110 torchvision==0.8.0+cu110 torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
  3. Error message as follows
ERROR: Could not find a version that satisfies the requirement torchvision==0.8.0+cu110 (from versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3, 0.3.0, 0.4.0, 0.4.0+cpu, 0.4.0+cu92, 0.4.1, 0.4.1+cpu, 0.4.1+cu100, 0.4.1+cu92, 0.4.2, 0.4.2+cpu, 0.4.2+cu100, 0.4.2+cu92, 0.5.0, 0.5.0+cpu, 0.5.0+cu100, 0.5.0+cu92, 0.6.0, 0.6.0+cpu, 0.6.0+cu101, 0.6.0+cu92, 0.6.1, 0.6.1+cpu, 0.6.1+cu101, 0.6.1+cu92, 0.7.0, 0.7.0+cpu, 0.7.0+cu101, 0.7.0+cu92, 0.8.0)
ERROR: No matching distribution found for torchvision==0.8.0+cu110

Expected behavior

0.8.0+cu110 should be listed in https://download.pytorch.org/whl/torch_stable.html but it’s not.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

50reactions
seemetherecommented, Oct 27, 2020

This should be resolved now, you can use:

pip install torch==1.7.0+cu110 torchvision==0.8.1+cu110 torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
11reactions
HGamalElDincommented, Jan 20, 2021

@HGamalElDin try something like

pip install -r requirements.txt -f https://download.pytorch.org/whl/cu110/torch_stable.html 

thank you, this works for me: Adding in the file, –find-links https://download.pytorch.org/whl/torch_stable.html torch==1.7.1+cu101 torchvision==0.8.2+cu101 torchaudio===0.7.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

cannot install pip install torchvision - python - Stack Overflow
I am using python 3.8.3 version, I tried to install torchvision and torch module and faced this error, none of them are installed....
Read more >
No matching distribution found for torch===1.7.0+cu110
Hi I got an error while trying to install pytorch: PS C:\windows\system32> pip install torch===1.7.0+cu110 torchvision===0.8.1+cu110 ...
Read more >
torchvision - PyPI
The torchvision package consists of popular datasets, model architectures, and common image transformations for computer vision. Installation. We recommend ...
Read more >
could not find a version that satisfies the requirement torch ...
I try to install with pip install torch==1.7.1+cu110 torchvision==0.8.2+cu110 torchaudio===0.7.2 -f https://download.pytorch.org/whl/torch_stable.html ...
Read more >
Unable to installe torch and torchvision with the package ...
Hi,. When I try to install torch and torchvision in my environnement for python it's always fail. I receive this message : -----...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found