首先是如何安装第三方库:
以上就是安装步骤,另外就是推荐镜像安装,也就是下面要添加镜像网站:
把以上国内常见的镜像网站加入进去:
清华:
https://pypi.tuna.tsinghua.edu.cn/simple
阿里:
http://mirrors.aliyun.com/pypi/simple/
豆瓣:
http://pypi.douban.com/simple/
华中理工大学:
http://pypi.hustunique.com/
山东理工大学:
http://pypi.sdutlinux.org/
中国科学技术大学:
http://pypi.mirrors.ustc.edu.cn/
默认值:
https://pypi.python.org/simple
那么,问题来了:
点击
但是显示error
我查了很多方法,有的说用cmd直接安装,但是我发现最关键的问题是,我换一个源就可以了:
往上滑,发现有很多这个库,只是不同镜像网站,当我换一个后,接着就安好了!