报错:ERROR: No matching distribution found for torch==1.4.0+cu100

2022-07-28,,,,

本机:Ubuntu16.04,在conda的虚拟环境内,尝试安装github上一个demo的环境时,直接调用install.sh,就会按照requirements.txt里提供的配置进行安装,在这个过程中出现了报错

报错

ERROR: Could not find a version that satisfies the requirement torch==1.4.0+cu100 (from -r requirements.txt (line 6)) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2, 0.3.1, 0.4.0, 0.4.1, 1.0.0, 1.0.1, 1.0.1.post2, 1.1.0, 1.2.0, 1.3.0, 1.3.1, 1.4.0, 1.5.0, 1.5.1, 1.6.0, 1.7.0)
ERROR: No matching distribution found for torch==1.4.0+cu100 (from -r requirements.txt (line 6))

解决

 pip install torch==1.4.0+cu100 torchvision==0.5.0+cu100 -f https://download.pytorch.org/whl/torch_stable.html

 

本文地址:https://blog.csdn.net/weixin_41790566/article/details/109646577

《报错:ERROR: No matching distribution found for torch==1.4.0+cu100.doc》

下载本文的Word格式文档,以方便收藏与打印。