python pip安装包设置国内镜像包

设置国内(清华)镜像源和升级pip

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
python -m pip install --upgrade pip 

#备选镜像
 
清华: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 

你可能感兴趣的:(python,linux,开发语言)