安装torch报错版本错误找不到版本解决方法:Could not find a version that satisfies the requirement torch==1.6.0使用以下方法解决:
pip install torch==0.4.1 -f https://download.pytorch.org/whl/torch_stable.html
安装torchversion==0.7.0错误报错:
ERROR: Could not find a version that satisfies the requirement torchvision==0.7.0 (from versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3, 0.5.0, 0.9.0, 0.9.1)
ERROR: No matching distribution found for torchvision==0.7.0
使用以下方法解决:
pip install torchversion==0.7.0 -f https://download.pytorch.org/whl/torch_stable.html