修改配置文件
1
vim ~/.pip/pip.conf
内容为
1
2
3
4
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host = pypi.tuna.tsinghua.edu.cn
其他源:
修改配置文件
1
vim ~/.pip/pip.conf
内容为
1
2
3
4
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host = pypi.tuna.tsinghua.edu.cn
其他源: