ERROR: Could not find a version that satisfies the requirement torch==1.5.0+cu101 (from -r requirements.txt (line 15)) (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)
ERROR: No matching distribution found for torch==1.5.0+cu101 (from -r requirements.txt (line 15))
这时候需要指定一下
--find-links https://download.pytorch.org/whl/torch_stable.html
torch==1.5.0+gpu
如果安装cpu版本同理
--find-links https://download.pytorch.org/whl/torch_stable.html
torch==1.5.0+cpu