学习笔记3.python安装包失败解决

上次笔记安装matplotlib库的时候报错,安装方法见下:

pip install -i https://pypi.douban.com/simple/ matplotlib  (豆瓣源)

具体出错原因见下:

ERROR: Could not find a version that satisfies the requirement matplotlib (from versions: none)
ERROR: No matching distribution found for matplotlib

 解决方法:

pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple matplotlib(清华源)

参考此博主成功解决:

https://blog.csdn.net/Voyager_Xie/article/details/132677885

猜你喜欢

转载自blog.csdn.net/KingGodZ/article/details/141122747