12 lines
313 B
Plaintext
12 lines
313 B
Plaintext
|
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
|
||
|
------------------------------------------------------------
|