Skip to content

Instantly share code, notes, and snippets.

@schnell18
Last active May 23, 2025 18:40
Show Gist options
  • Save schnell18/d0ed716917905d2c142a370906cfa32f to your computer and use it in GitHub Desktop.
Save schnell18/d0ed716917905d2c142a370906cfa32f to your computer and use it in GitHub Desktop.
setup pip mirror in China
mkdir ~/.pip
cat <<EOF > ~/.pip/pip.conf
[global]
trusted-host = mirrors.aliyun.com
index-url = http://mirrors.aliyun.com/pypi/simple
EOF
@void-mckenzie
Copy link

@ettingshausen Life saver 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment