X
55 Rate this article:
No rating

INTERNAL: Anaconda Python Miscellaneous Information

Anonym

 


PROBLEM:

Attempting to download/install python library to Anaconda 3 w/command like:

conda install web.py

Results in an error like:

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.continuum.io/pkgs/free/win-64/repodata.json.bz2>
Elapsed: -


An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.continuum.io\', port=443): Max retries exceeded with url: /pkgs/free/win-64/repodata.json.bz2 (Caused by SSLError(SSLError("bad handshake: Error([(\'SSL routines\', \'ssl3_get_server_certificate\', \'certificate verify failed\')],)",),))',),)

WORKAROUND:

There is a SSL security certificate validation problem. You can workaround it by (temporarily) turning off the certificate verification by issuing the following command:

conda config --set ssl_verify false

Then after completing the library download/installation, change this setting back to default:

conda config --set ssl_verify true