Home > OS >  Issue installing Torch & Torchvision
Issue installing Torch & Torchvision

Time:12-17

I'm on MacOS (Ventura 13.1) and trying to install PyTorch on Python version 3.11.1

I ran the following command per the PyTorch website via the terminal

pip3 install torch torchvision 

but getting the following error when running

ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
ERROR: No matching distribution found for torch

After much troubleshooting, it's not clear what could be wrong here.

I expected the installation to take place but getting this error instead

CodePudding user response:

The version of Python you are using is not compatible with PyTorch. PyTorch supports Python 3.6, 3.7, 3.8, 3.9, and 3.10. It is possible that PyTorch does not yet support Python 3.11.

More info can be found here

  • Related