Conda update failed: SSL error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
according to @jreback here https://github.com/conda/conda/issues/1166
conda config --set ssl_verify false
will turn off this feature, e.g. here
Conda needs to know where to find you SSL certificate store.
conda config --set ssl_verify <pathToYourFile>.crt
No need to disable SSL verification.
This command add a line to your $HOME/.condarc
file or %USERPROFILE%\.condarc
file on Windows that looks like:
ssl_verify: <pathToYourFile>.crt
If you leave your organization's network, you can just comment out that line in .condarc
with a #
and uncomment when you return.
If it still doesn't work, make sure that you are using the latest version of curl
, checking both the conda-forge
and anaconda
channels.
This seemed to do the trick for me:
conda remove certifi
conda install certifi
Then you can do whatever you were trying to do before, e.g.
conda update --all