I am configuring the anaconda on ubuntu 16.04.
When I use conda update --all
, there is a error shown as following
Fetching package metadata ... CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.continuum.io/pkgs/main/linux-64/repodata.json.bz2 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. ProxyError(MaxRetryError("HTTPSConnectionPool(host='repo.continuum.io', port=443): Max retries exceeded with url: /pkgs/main/linux-64/repodata.json.bz2 (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary >failure in name resolution',)))",),)
Maybe a new proxy setting is necessary on anaconda,however,the ubuntu 16.04 has setted proxy.
I see online that I should add a proxy into a .condarc file that contains the proxy address. Unfortunately,
- I can not locate the .condarc file on ubuntu 16.04
- Or there is another way to solve the error?
Any help appreciated Thanks!