首页 > anaconda3 windows conda怎么选择源?下载速度太慢了

anaconda3 windows conda怎么选择源?下载速度太慢了

自己加了新的源,但还是用原来的。


  1. 删除之前添加的信息
    打开用户目录(如C:UsersVincent)下的.condarc文件,删除之前误添加的信息

  2. 去掉引号,重新添加

    conda config --add channels https://mirrors.tuna.tsinghua...
    conda config --set show_channel_urls yes


更新一下:

确实add channel的时候不用加引号
另外答主没有提怎么删除原来加错的channel,我搜了一下,配置文件是.condarc,可以通过conda info -a命令查看路径C:UsersAdministrator.condarc。通过记事本直接打开,把默认的和加错的都删掉,只留一个对的就行了。
-----以下是原始记录,因为手机上没法编辑问题,只好把补充说明写在这里了-----------

conda config --add channels 'https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/'

conda config --set show_channel_urls yes

加了上面的源,但并没有使用。

【热门文章】
【热门文章】