anaconda和pip添加国内镜像源

一些国内镜像源

  1. 一些国内镜像源
  阿里云 https://mirrors.aliyun.com/pypi/simple/
  中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
  豆瓣(douban) http://pypi.douban.com/simple/
  清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
  中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
  1. 添加镜像源命令:
conda config --add channels https://mirrors.aliyun.com/pypi/simple/

查看添加的镜像:
conda config --get channels
  1. 设置可以使用pip访问包管理,执行如下命令:
conda config --set use_pip True

版权声明:本文为thenorther原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。