pip2使用国内源

2020-03-07  本文已影响0人  小黑佬
root@yunwei]# cat ~/.pip/pip.conf 
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
mkdir -p ~/.pip
echo "[global]" >> ~/.pip/pip.conf 
echo "index-url = https://pypi.tuna.tsinghua.edu.cn/simple" >> ~/.pip/pip.conf 
上一篇 下一篇

猜你喜欢

热点阅读