国内几大镜像源
 1. 镜像源:2. 修改pip默认源
 
1. 镜像源:
 
 
 清华(常用):https://pypi.tuna.tsinghua.edu.cn/simple
 
 
 
 中科大(据说好用): https://pypi.mirrors.ustc.edu.cn/simple/
 
 
 
 阿里云(据说好用):https://mirrors.aliyun.com/pypi/simple/
 
 
 
 豆瓣:https://pypi.douban.com/simple/
 
 
2. 修改pip默认源
 
pip config 
set global.index-url https://mirrors.aliyun.com/pypi/simple/
 
注:某些情况下,某些包只能从原位置安装,若替换默认源会导致无法安装