1. pip config set gloable.set defautl
可以从输出中看到文件Writing to /root/.config/pip/pip.conf
2.
(pytorch-py3.7) root@nlp:~# cat ~/.config/pip/pip.conf
[global]
index-url=http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
1. pip config set gloable.set defautl
可以从输出中看到文件Writing to /root/.config/pip/pip.conf
2.
(pytorch-py3.7) root@nlp:~# cat ~/.config/pip/pip.conf
[global]
index-url=http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com