[Solved] Pip: There Was a Problem Confirming the Ssl Certificate

  • Home /
  • Blog Posts /
  • [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

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

So your final command may look something like this:

pip install some_module  --trusted-host pypi.python.org