I installed Anaconda with Anaconda3-2024.02-1-Windows-x86_64.exe, and it was working perfectly including creating a new virtual environment. It is behind a company firewall and proxy. But it is no longer working with an error in Windows command windows below:
(base) C:\WINDOWS\system32>conda create -n py39_env
Channels:
- defaults
Platform: win-64
Collecting package metadata (repodata.json): / Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)’)’: /pkgs/r/noarch/repodata.json.zstRetrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)’)’: /pkgs/r/win-64/repodata.json.zst
…Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)’)’: /pkgs/main/noarch/repodata.json.zst
failed
CondaSSLError: Encountered an SSL error. Most likely a certificate verification issue.
Exception: HTTPSConnectionPool(host=‘repo.anaconda.com’, port=443): Max retries exceeded with url: /pkgs/main/win-64/repodata.json.zst (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)’)))
I tried adding below to C:\Users\name\.condarc , but it is still not working
1 Added proxy_servers
2 added ssl_verify
example C:\Users\name\.condarc file below: I changed the proxy address here
proxy_servers:
link here (removed due to restrictions here)ssl_verify: False
I have also tried the links below :