Encounter
Collecting package metadata (current_repodata.json): failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/genomedk/linux-64/current_repodata.json>
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.
ConnectionError(MaxRetryError("HTTPSConnectionPool(host='conda.anaconda.org', port=443): Max retries exceeded with url: /genomedk/linux-64/current_repodata.json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f4cef822390>: Failed to establish a new connection: [Errno 101] Network is unreachable'))"))
The reason is that an unknown URL has been added to the CONDA source, which can’t be used (or discarded) now
conda config --remove-key channels
cat ~/.condarc
Problem solving
Similar Posts:
- ConnectFailure: Unable to establish connection to http://127.0.0.1:9696/v2.0/ports/f7eaf0bb-fb46-4a18-ab13-5dca89e7ec51.json
- Solving the problem of “solving environment: failed” of CONDA
- [Solved] CondaHTTPError: HTTP 000 CONNECTION FAILED for url
- python=2.7-not available from current channels [How to Solve]
- Conda Install Library Error: failed with initial frozen solve. Retrying with flexible solve.
- Solving the problem of “solving environment: failed” of CONDA
- Anaconda establishes a new environment, and condahttpererror: http 000 connection failed for URL… Solution process appears
- Anaconda uses CONDA to connect to the network. Error: http 000 connection failed for URL
- How to Solve Anaconda Error (Three Errors to Solve)
- [Solved] samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file