Hi,
I am facing the following error when attempting to install Pytorch on Ubuntu 23.04, I am using Python V 3.11 installed and managed via ASDF VERSION MANAGER
pip list :
Package Version
------------------ --------
...
setuptools 68.0.0
...
the command pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 throw the following error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
Looking in indexes: https://download.pytorch.org/whl/cu118
ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
ERROR: No matching distribution found for setuptools>=40.8.0
[end of output]
You can use Python 3.11.4 if you don’t update pip and setuptools. With pip==23.0.1 and setuptools==66.1.1, I installed pytorch 2.0.1(cuda 1.18) successfully.