最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

macos - How to fix "SSLCertVerificationError or certificate > verification issue." on a Mac with brew a

programmeradmin1浏览0评论

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)')))

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论