Ubuntu系统下,创建~/.pip文件夹,并在其中创建pip.conf文件。
编辑pip.conf文件如下
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host=mirrors.aliyun.com
Ubuntu系统下,创建~/.pip文件夹,并在其中创建pip.conf文件。
编辑pip.conf文件如下
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host=mirrors.aliyun.com