【已解决】torch==1.9.1+cu111无法安装

torch==1.9.1+cu111无法安装

配置环境torch==1.9.1+cu111时,出现报错

pip install torch==1.9.1+cu111

ERROR: Could not find a version that satisfies the requirement torch==1.9.1+cu111 (from versions: 1.4.0, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1)
ERROR: No matching distribution found for torch==1.9.1+cu111

解决办法

pip install torch==1.9.0+cu111 -f  https://download.pytorch.org/whl/cu111/torch_stable.html

文章出处登录后可见!

已经登录?立即刷新

共计人评分,平均

到目前为止还没有投票!成为第一位评论此文章。

(0)
扎眼的阳光的头像扎眼的阳光普通用户
上一篇 2023年11月9日
下一篇 2023年11月9日

相关推荐