conda更换国内下载镜像

来源:互联网 发布:电视盒子软件2017 编辑:程序博客网 时间:2024/05/18 01:18


 conda报错:'Could not connect to https://repo.continuum.io'时,更换镜像即可。


更换安装源镜像为清华大学镜像

[html] view plain copy
  1. conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
[html] view plain copy
  1. conda config --set show_channel_urls yes  

此时你的.condarc 文件(C:/users/用户名/.condarc)应该是这样的内容




原创粉丝点击