Skip to content

Instantly share code, notes, and snippets.

@hetykai
Last active January 25, 2020 08:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hetykai/5e517df165afeb9ccbcfefcbf2498c00 to your computer and use it in GitHub Desktop.
Save hetykai/5e517df165afeb9ccbcfefcbf2498c00 to your computer and use it in GitHub Desktop.
wget -q -O ~/.condarc https://gist.githubusercontent.com/hetykai/009981512d819c79ce3628cf3eb91a28/raw && \
conda config --set show_channel_urls yes && \
echo -e "[global]\nindex-url = https://mirrors.cloud.tencent.com/pypi/simple" | install -D /dev/stdin ~/.config/pip/pip.conf && \
echo -e "[global]\nindex-url = https://mirrors.cloud.tencent.com/pypi/simple" | install -D /dev/stdin ~/.pip/pip.conf && \
pip install pip -U && \
pip config set global.index-url https://mirrors.cloud.tencent.com/pypi/simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment