ananconda源问题于解决
2017-08-11 本文已影响0人
会武功的蚊子
conda httperror http none none for url none Anaconda更新失败
在conda安装好之后,默认的镜像是官方的,由于官网的镜像在境外,访问太慢或者不能访问,为了能够加快访问的速度,这里选择了清华的的镜像。
在命令行中运行(设置清华的镜像)
- Conda Forge
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
查看conda信息,把config file目录复制下来
conda info

打开config file文件
vim ~/.condarc

把光标移动到- defaults
double d #删除掉- defaults
然后
:wq #保存并推出
问题解决了