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

0 min read 73 words

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
Tags:
Andrew
Andrew

Andrew is a visionary software engineer and DevOps expert with a proven track record of delivering cutting-edge solutions that drive innovation at Ataiva.com. As a leader on numerous high-profile projects, Andrew brings his exceptional technical expertise and collaborative leadership skills to the table, fostering a culture of agility and excellence within the team. With a passion for architecting scalable systems, automating workflows, and empowering teams, Andrew is a sought-after authority in the field of software development and DevOps.

Tags