support PyPi in global mode
yulin-li opened this issue · 0 comments
yulin-li commented
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.