anaconda各类镜像源集合及使用方法
清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:https://mirrors.aliyun.com/pypi/simple/
中国科技大学: https://pypi.mirrors.ustc.edu.cn/simple/
华中理工大学:https://pypi.hustunique.com/
山东理工大学:https://pypi.sdutlinux.org/
豆瓣:https://pypi.douban.com/simple/
单次使用镜像 (推荐)
pip 后面添加
-i http://pypi.douban.com/simple/
#例如
pip install -i http://pypi.douban.com/simple/ numpy #安装numpy库
#设置搜索时显示通道地址
conda config --set show_channel_urls yes
添加镜像源
conda config --add channels http://pypi.douban.com/simple/
查看所以镜像源
conda config --show channels
删除不需要的源
conda config --remove channels 源名
例子:conda config --remove channels http://pypi.douban.com/simple/