【转】解决pip install太慢的问题

将pip的源换为国内的。

1.新建目录及文件~/.pip/pip.conf

2.内容为:

[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple

[install]
trusted-host=mirrors.aliyun.com

猜你喜欢

转载自www.cnblogs.com/HYanqing/p/12721431.html