文件:.condarc
内容:
proxy_servers:
http: http://XXXX.com:8080
https: http://xxxx.com:8080
ssl_verify: false
也可以使用如下语句加入:
conda config # 本句是生成.condarc文件,同样的是为了保证没有bug,让conda自己生成.condarc文件
conda config --append channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --append channels http://mirrors.bfsu.edu.cn/anaconda/pkgs/main/
conda config --set proxy_servers.http http://xxxx.com:8080/
conda config --set proxy_servers.https http://xxxx.com:8080/
conda config --set ssl_verify false
基本就是.condarc 保存配置



