我是靠谱客的博主 动听纸飞机,这篇文章主要介绍ubuntu系统解决:ProxyError: Conda cannot proceed due to an error in your proxy configuration.,现在分享给大家,希望可以做个参考。
在安装anaconda后,我们有时安装一些比较低版本的库需要新建一个环境好分开。
但是由于原先用梯子,代理改得一团糟。在创建环境时,即:
conda create -n tf18 pip python=3.6
这时会报错代理错误:
ProxyError: Conda cannot proceed due to an error in your proxy configuration. Check for typos and other configuration errors in any '.netrc' file in your home directory, any environment variables ending in '_PROXY',
...
找了一圈,网上很多改windows的,改~/.bashrc的,但是~/.bashrc显示权限不足,也改不了。运行了一通没什么用,最后转变思路,搜索如何关闭ubuntu代理,解决了该问题:
1.查看当前使用代理:
env | grep -i proxy
2.去掉相关代理
gedit /etc/enviroment
3.还有~/.bashrc /etc/profile中的代理,然后source两个文件。
source .bashrc
source /etc/profile
4.如果还存在代理,运行:
unset http_proxy
unset https_proxy
有需要的话重启一下
参考的原文:ubuntu取消代理_ubuntu 关掉代理_fxxxkming的博客-CSDN博客
最后
以上就是动听纸飞机最近收集整理的关于ubuntu系统解决:ProxyError: Conda cannot proceed due to an error in your proxy configuration.的全部内容,更多相关ubuntu系统解决:ProxyError:内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复