Skip to content

Instantly share code, notes, and snippets.

@schnell18
Last active March 27, 2026 13:32
Show Gist options
  • Select an option

  • Save schnell18/d0ed716917905d2c142a370906cfa32f to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

@ettingshausen Life saver ๐Ÿ™

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