【Ubuntu 下conda创建环境失败报错:ProxyError:Conda cannot proceed due to an error in your proxy configuration

问题报错

使用conda创建环境遇到报错:“ProxyError:Conda cannot proceed due to an error in your proxy configuration”.
试了许多网上的方法,感觉没有一个可以根治百病的方案.根据网上方案,总结以下经验供大家参考:
先试试换成国内源,如果解决即ok,略过后文.
没有解决则关闭代理.
在这里插入图片描述

解决之道

查看当前终端代理:
在这里插入图片描述依次删除,HTTPS,HTTP,http等代理
在这里插入图片描述

unset http_proxy
unset https_proxy
unset no_proxy
unset HTTP_PROXY
unset HTTPS_PROXY
unset NO_PROXY

最后再创建环境即可成功!
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_43789096/article/details/123541755