conda设置代理vim
vim ~/.condarcurl
这个文件中能够看到镜像源信息(若是配置了的话),在下面加上proxy就能够设置代理了:.net
channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- defaults
show_channel_urls: true
proxy_servers:
http: http://xxx.xx.com:8080
https: https://xxx.xx.com:8080
ssl_verify: false
注意:
代理
1.第一个http:和https:后面跟一个空格,ssl_verify:后面也跟一个空格server
2.http:和https:后面的连接换成你的代理连接和端口号。blog
没有空格会报错:无效的参数, frozendictssl
————————————————
版权声明:本文为CSDN博主「ShellCollector」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处连接及本声明。
原文连接:https://blog.csdn.net/jacke121/article/details/107381758
class