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!