创建pip配置文件
mkdir ~/.pip vim ~/.pip/pip.conf
在配置文件中写入以下内容
[global] timeout = 6000 index-url = http://mirrors.aliyun.com/pypi/simple/ trusted-host = pypi.tuna.tsinghua.edu.cn
Last updated 4 years ago
Was this helpful?