问题
解决方法
pip install torchvision==* # 查看可以安装的torch版本
Looking in indexes: http://mirrors.cambricon.com/pypi/web/simple/
ERROR: Could not find a version that satisfies the requirement torchvision==* (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.3.0, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.6.0, 0.6.1, 0.7.0, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.9.1, 0.10.0, 0.10.1, 0.11.0, 0.11.1, 0.11.2, 0.11.3, 0.12.0)
ERROR: No matching distribution found for torchvision==*
# 我安装了最新的torchvision版本
pip install torchvision==0.12.0
报错解除!