In my opinion, in global mode, the pypi config file /root/.config/pip/pip.conf should be updated to tuna mirror.
If I manually change the mirror using sudo -H pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple, the config file in /root/ will be updated.
In my opinion, in
globalmode, the pypi config file/root/.config/pip/pip.confshould be updated to tuna mirror.If I manually change the mirror using
sudo -H pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple, the config file in/root/will be updated.