【已解决】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

你可能感兴趣的:(Ubuntu,python,深度学习,pytorch)