用户登录
用户注册

分享至

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

  • 作者: 用户43917212
  • 来源: 51数据库
  • 2021-08-13

本机: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 http://www.51sjk.com/Upload/Articles/1/0/257/257438_20210630001449398.html

?

软件
前端设计
程序设计
Java相关