I have installed conda using brew on a Mac. Python and brew are installed in the following path,
which python >> /opt/homebrew/anaconda3/bin/python
which brew >> /opt/homebrew/bin/brew
Now as I am trying to create a python virtual environment, I am getting following error.
I have tried, python -m pip install pip-system-certs pip install certifi pip install --upgrade certifi
None worked. Can someone please give me an easy to follow instructions? Thank you.
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))': /pkgs/r/noarch/repodata.json.zst
failed
CondaSSLError: Encountered an SSL error. Most likely a certificate verification issue.
Exception: HTTPSConnectionPool(host='repo.anaconda', port=443): Max retries exceeded with url: /pkgs/main/osx-arm64/repodata.json.zst (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')))