python 安装第三方库,命令语法:(建议采用国内python 镜像)
语法说明:
x:第三方库名称,如:pandas
y:国内镜像网站地址,如:https://mirrors.tuna.tsinghua.edu.cn
pip install xxxxx -i yyyyy
示例:安装pandas库
pip install pandas -i https://mirrors.tuna.tsinghua.edu.cn
国内镜像地址:
清华大学:
https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:
http://mirrors.aliyun.com/pypi/simple
中国科技大学:
https://pypi.mirrors.ustc.edu.cn/simple
华中理工大学:
http://pypi.hustunique.com
山东理工大学:
http://pypi.sdutlinux.org
豆瓣:
http://pypi.douban.com/simple