ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
ERROR: No matching distribution found for torch
ERROR: Could not find a version that satisfies the requirement torchvision (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)
ERROR: No matching distribution found for torchvision
C:\Users\name>python --version
Python 3.7.3
C:\Users\name>pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
Looking in indexes: https://download.pytorch.org/whl/cu118
Collecting torch
Could not find a version that satisfies the requirement torch (from versions: )
No matching distribution found for torch
This is on Windows 10. I had just installed a fresh CUDA toolkit v 11.8
i am having the same error:
(environmentname) C:\Users\ahsan>pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
Looking in indexes: https://download.pytorch.org/whl/cu124
ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
ERROR: No matching distribution found for torch
windows11
python version is 3.10.0
just installed cuda:
Cuda compilation tools, release 12.4, V12.4.99
Build cuda_12.4.r12.4/compiler.33961263_0
i have tired python 3.11.0 as well as 3.12 but i get the same error
it is solved: i had to download the pytorch manully from https://download.pytorch.org/whl/torch/. I had to make sure i choose the correct cuda and cp version.Then i had to manually install it using pip.