leaf/hints/pip.txt

12 lines
313 B
Plaintext
Raw Normal View History

Python Pip换源
------------------------------------------------------------
mkdir -pv ~/.pip
cat > ~/.pip/pip.conf << "EOF"
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host = https://pypi.tuna.tsinghua.edu.cn
EOF
------------------------------------------------------------