镜像下载python包

https://study.163.com/course/courseMain.htm?courseId=1006383008&share=2&shareId=400000000398149(博主录制)

有时国内下载python第三方包很慢,我们可以利用国内镜像下载

国内镜像
清华: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/

使用方法:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple 库名

如,安装matplotlib
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple nltk

https://study.163.com/provider/400000000398149/index.htm?share=2&shareId=400000000398149(博主视频教学主页)

原文地址:https://www.cnblogs.com/webRobot/p/12809323.html