CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/free/noarch/repo

CondaHTTPError: HTTP 000 CONNECTION FAILED for url 
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.

ProxyError(MaxRetryError("HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/free/noarch/repodata.json.bz2 (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)))",),)

ubuntu18.04上的conda之前一直可以用,今天在创建新环境的时候出现了以上问题,按照网上的教程进行了换源、将https修改成http等操作,然后都没有成功

仔细查看报错信息后发现,其他文章的error是ConnectTimeout,而我报错的是proxyError,应该是代理的问题,在系统设置中将网络代理关闭,重启一个终端后运行成功

你可能感兴趣的:(深度学习)