目的就是可以提高一点下载速度。
清华 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
Also [ pip ]:
- 阿里云 https://mirrors.aliyun.com/pypi/simple/
- 中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
- 豆瓣 http://pypi.douban.com/simple/
Reference :
https://blog.youkuaiyun.com/darren2015zdc/article/details/73865483