错误提示:
ERROR: Could not find a version that satisfies the requirement numpy
ERROR: No matching distribution found for numpy
查资料说是镜像源的问题,但添加阿里源后还是同样的问题。
解决:
在要安装的语句后面加上:
-i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
后续pytorch安装:
pytorch xxxfailed教程