Condassl error after running command "% /Users/xyz/miniconda3/bin/conda install astropy numpy scipy"

System details: MacOS Ventuta 13.4, Chip: Apple M1 MAX

I got the following error after running the command “/Users/sudip/miniconda3/bin/conda install astropy numpy scipy”.


(base) sudip@Sudips-MacBook-Pro BUILD_DIR % /Users/sudip/miniconda3/bin/conda install astropy numpy scipy

Retrieving notices: …working… ERROR conda.notices.fetch:get_channel_notice_response(63): Request error <HTTPSConnectionPool(host=[repo.anaconda.com]( port=443): Max retries exceeded with pkgs/r/notices.json (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))> for channel: defaults url:

ERROR conda.notices.fetch:get_channel_notice_response(63): Request error <HTTPSConnectionPool(host='repo.anaconda.com: Max retries exceeded with url: /pkgs/main/notices.json (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”))> for channel: defaults url: **

done

Collecting package metadata (current_repodata.json): failed

CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to

download and install packages.

Exception: ConnectionPool(host='repo.anaconda.com: Max retries exceeded with url: /pkgs/main/osx-64/current_repodata.json (Caused by SSLError(“Can’t connect to URL because the SSL module is not available.”))


Any help would be appreciated.

Thanks & Regards,

Hello,

This should fix it:

%conda activate base
%conda update --all

Thanks for the reply.

I am getting the error after running the command"conda update --all"


MacBook-Pro BUILD_DIR % conda update --all

Retrieving notices: …working… ERROR conda.notices.fetch:get_channel_notice_response(63): Request error <HTTPSConnectionPool(host=, port=443): Max retries exceeded with url: /pkgs/main/notices.json (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”))> for channel: defaults url: https://repo.anaconda.com/pkgs/main/notices.json

ERROR conda.notices.fetch:get_channel_notice_response(63): Request error <HTTPSConnectionPool(host= port=443): Max retries exceeded with url: /pkgs/r/notices.json (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”))> for channel: defaults url: https://repo.anaconda.com/pkgs/r/notices.json

done

Collecting package metadata (current_repodata.json): failed

CondaSSLError: Encountered an SSL error. Most likely a certificate verification issue.

Exception: HTTPSConnectionPool(host=, port=443): Max retries exceeded with url: /pkgs/main/osx-64/current_repodata.json (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”))


Hello,
Please set the following in your .bashrc file:

export PATH=$CONDA_HOME/Library/bin:$PATH

See this discussion for more information: