Not able to download Pytorch

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

Could you post more information about your setup, in particular which Python version and OS you are using as well as the used install command, please?

I use Windows 10 and the latest python version.

I tried multiple commans like the ones from the website and other ones I found on the web.

The “latest” Python version might be too new, so maybe try to downgrade it to 3.10.

I am also seeing this issue:

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

Python=3.7 is not supported anymore as seen in the release notes:

Deprecation of Cuda 11.6 and Python 3.7 support for PyTorch 2.0

Ah, my mistake, thanks!

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.

how did you install it manually using pip please

and how to make sure whats my correct cuda and cp version please