Anaconda configurate the resource of mirror downloading

安装需要的Python包非常方便,但是官方服务器在国外,下载龟速,国内清华大学提供了Anaconda的镜像仓库,我们把源改为清华大学镜像源

更改方法一:cmd后依次输入下面命令

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes

开C盘用户目录,我这里是

C:\Users\User
找到.condarc文件,里面长这样就成了

ssl_verify: true
channels:

  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  • defaults
    show_channel_urls: true