pip下载太慢解决方法

pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple/

用清华的镜像下载会快很多。

或者一劳永逸:

在命令行输入

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

参考:https://mirrors.tuna.tsinghua.edu.cn/help/pypi/

 

原文地址:https://www.cnblogs.com/lxc1910/p/10507749.html