【Python】Python 3.11 无法安装 Pytorch ,提示找不到包

问题

Python 3.11 无法安装 Pytorch,在 pytorch 界面找到语句
【Python】Python 3.11 无法安装 Pytorch ,提示找不到包_第1张图片
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 (大概是这个)

解决

我用的是 python 3.11 版本过高,换成 python3.6 就行了

效果

找到包

在这里插入图片描述
成功安装

在这里插入图片描述

你可能感兴趣的:(配置,python,pytorch,python3.11)