[Solved] Pip: There was a problem confirming the ssl certificate

If you ever get the following error when trying to install a Pip module under Python:

Could not fetch URL https://pypi.python.org/simple/****/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777) - skipping
Code language: JavaScript (javascript)

Then an easy way to get around it is by adding the trusted-host flag to your commandline argument as follows:

--trusted-host pypi.python.org
Code language: CSS (css)

So your final command may look something like this:

pip install some_module --trusted-host pypi.python.org
Code language: CSS (css)
Notify of
Inline Feedbacks
View all comments