pip 国内镜像

阿里云 http://mirrors.aliyun.com/pypi/simple/

中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

豆瓣(douban) http://pypi.douban.com/simple/ 

清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/

中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/

在pip时,只需要在后面加上镜像地址就可以了:

[python]  view plain  copy
  1. #例如安装lxml时使用豆瓣源    
  2. pip install --index-url https://pypi.douban.com/simple lxml  

猜你喜欢

转载自blog.csdn.net/qq284489030/article/details/80651196