Last active
May 23, 2025 18:40
-
-
Save schnell18/d0ed716917905d2c142a370906cfa32f to your computer and use it in GitHub Desktop.
setup pip mirror in China
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir ~/.pip | |
cat <<EOF > ~/.pip/pip.conf | |
[global] | |
trusted-host = mirrors.aliyun.com | |
index-url = http://mirrors.aliyun.com/pypi/simple | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@ettingshausen thanks a lot !