pip官方镜像源
官方: https://pypi.python.org/simple
国内镜像源
清华: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 <镜像源URL>
pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
永久使用镜像源
pip config set global.index-url <镜像源URL>
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple