Pytorch installation could not find a version that satisfies the requirement
When i tried to install Pytorch in the way they suggest on their website:
pip install torch===1.7.0 torchvision===0.8.1 torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html

this is the error that appear:
ERROR: Could not find a version that satisfies the requirement torch===1.7.0 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch===1.7.0

How can i solve it?

Just wanted to start out by letting all the mac, linux, and python 3.8.x- users here know that adding &quot;https://&quot; to the command does not solve the problem: Proof that it doesn't help or solve anything
Here's why: OP, you probably have python 3.9 installed on your machine. Unfortunately, Python 3.9 is not yet supported by Pytorch. Install python 3.8.6 instead, that's the latest version that's currently supported. You'll find similar problems trying to install packages like sklearn or tensorflow as well.
So here's the answer: either wait, or uninstall python and roll back to python 3.8.6
Sorry it couldn't be a better one.
