[Python] Python 3.11 cannot install Pytorch, prompting that the package cannot be found

question

Python 3.11Unable to install Pytorch, enterpytorch the statement found in the interface to return (probably this)
Insert image description here
cmd pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
Could not find a version that satisfies the requirement torch

solve

The version I am using is python 3.11too high, python3.6just change it to

Effect

find package

Insert image description here
Successfully installed

Insert image description here

Guess you like

Origin blog.csdn.net/m0_50939789/article/details/128600479