添加Anaconda和pip国内镜像

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/sinat_34611224/article/details/83176103

目的就是可以提高一点下载速度。

清华 Anaconda 仓库的镜像,运行以下命令添加 :

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes

清华pip 仓库的镜像,运行以下命令添加【临时】:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple gevent

豆瓣pip 仓库的镜像,运行以下命令添加【临时】:

pip install -i http://pypi.douban.com/simple/ gevent

Reference :
https://blog.csdn.net/darren2015zdc/article/details/73865483

猜你喜欢

转载自blog.csdn.net/sinat_34611224/article/details/83176103