$ conda install -c bioconda fastqc
Collecting package metadata (current_repodata.json): failed

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.
ConnectionError(MaxRetryError("HTTPSConnectionPool(host='conda.anaconda.org', port=443): Max retries exceeded with url: /bioconda/linux-64/current_repodata.json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 101] Network is unreachable'))"))

I am using the university's HPC system (details of it below) for RNASeq. However, as you can see above, I cannot download packages due to CondaHTTPError. How can I resolve this?

$ conda info

active environment : None
user config file : /home/mhnidhi2/.condarc
populated config files : /home/mhnidhi2/.condarc
conda version : 4.7.12
conda-build version : 3.18.9
python version : 3.7.4.final.0
virtual packages :
base environment : /opt/ohpc/pub/anaconda3 (read only)
channel URLs : conda.anaconda.org/bioconda/linux-64
conda.anaconda.org/bioconda/noarch
conda.anaconda.org/conda-forge/linux-64
conda.anaconda.org/conda-forge/noarch
...



Source link