numpy库安装时报错ERROR: Exception:Traceback
写在前面:欢迎你点进这篇博客!这篇博客记录了我在安装numpy库时遇到的问题和解决方案,衷心希望这篇博客能够解决你遇到的问题!
1、报错截图及原因
原运行指令:pip install numpy
报错截图:
报错原因:pip install命令默认是从国外官网下载,下载速度过慢,从而导致报错
2、解决方案
解决方案:换国内的下载源,提高下载速度,解决问题
解决指令:pip install numpy -i https://pypi.douban.com/simple/
另外四个pip下载源地址也附在下面啦:
·阿里云 http://mirrors.aliyun.com/pypi/simple/
·中国科技大学 https://pypi.mirrors.ustc.edu.cn/simplel
·清华大学 https://pypi.tuna.tsinghua.edu.cn/simplel
·中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simplel
问题解决截图
恭喜成功解决问题!(如果还没有也别气馁,也许解决的希望就在下一次尝试哦)