Skip to content

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

See also  How to Find the Largest product in a Series in Python
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x