成功解决 ProxyError: Conda cannot proceed due to an error in your proxy configuration

简介: 关掉win10的代理软件, 没有效果, 想起来代理软件会自动更改ie的代理设置

给win10的ubuntu1804安装anaconda, 执行conda create -n daily python=3.7创建虚拟环境时报错


Collecting package metadata (current_repodata.json): failed
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', and any other system-wide proxy
configuration settings.


一. 关掉win10的代理软件, 没有效果, 想起来代理软件会自动更改ie的代理设置


二. 关掉ie的代理设置, 如下图所示, 这步操作后, 对于一些人应该就可以解决问题了


20191212224943670.png

20191212225046787.png


三. 但是我还不行, 此时说明问题不在于win10, 而在于ubuntu1804, 我是不是在ubuntu1804上设置了环境变量? 突然一惊, 执行命令env | grep -i "_PROXY", 果不其然, 有两行输出, 再打开~/.bashrc一看, 如下图, 原来是大半年以前设置的环境变量… 把这两行注释掉, 保存退出, 重新打开终端就能创建虚拟环境了


20191212225853886.png

目录
相关文章
|
1月前
|
Java Spring
成功解决Initialization failed for ‘https://start.spring.io‘ Please check URL, network and proxy settings
这篇文章提供了解决Spring Initializr网站初始化失败问题的方法,包括检查URL、网络和代理设置。
成功解决Initialization failed for ‘https://start.spring.io‘ Please check URL, network and proxy settings
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
|
2月前
|
网络协议 网络安全 数据库
|
4月前
|
Java Spring
Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings.
Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings.
829 0
|
开发工具
WARNING: library configuration mismatch
WARNING: library configuration mismatch
287 0
|
Java Spring
Initialization failed for ‘https://start.spring.io‘ Please check URL, network and proxy settings解决办法
Initialization failed for ‘https://start.spring.io‘ Please check URL, network and proxy settings解决办法
3254 1
Initialization failed for ‘https://start.spring.io‘ Please check URL, network and proxy settings解决办法
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
135 0
|
网络协议 关系型数据库 Linux
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
178 0
报错解决:Reason: Failed to determine a suitable driver class
报错解决:Reason: Failed to determine a suitable driver class
2530 0
报错解决:Reason: Failed to determine a suitable driver class
|
Android开发
解析Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]
解析Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]
384 0
解析Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]