ERROR: Could not find a version that satisfies the requirement torch

When i install pyTorch using,
pip install torch torchvision torchaudio (Because i don’t have gpu) It gives,

ERROR: Could not find a version that satisfies the requirement torch (from versions: none)

ERROR: No matching distribution found for torch

My python and pip version is 3.12

I’ve used all the methods mentioned in stack overflow, but nothing had worked for me.

If someone helps me, how to solve this problem, this will very grateful for me.

  • 2

    Downgrade python to 3.11

    – 

Currently, PyTorch on Windows only supports Python 3.8-3.11; Python 2.x is not supported.

https://pytorch.org/get-started/locally/#windows-python

You need to downgrade your python to 3.11 as @Dr.Snoopy commented.

Leave a Comment