question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>

See original GitHub issue
  • OS version and name: Mac 11.6.3
  • Poetry version:
  • Link of a Gist with the contents of your pyproject.toml file:

Issue

Ran this:

curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py > /tmp/g.py
python /tmp/g.py --uninstall || true
python /tmp/g.py --version "$POETRY_VERSION"

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
uyhacommented, Mar 4, 2022

For anyone who comes across this problem, and is using Ubuntu, try the following:

sudo update-ca-certificates --fresh
export SSL_CERT_DIR=/etc/ssl/certs

source: https://stackoverflow.com/a/57910133/4481014

Read more comments on GitHub >

github_iconTop Results From Across the Web

Scraping: SSL: CERTIFICATE_VERIFY_FAILED error for http ...
I'm practicing the code from 'Web Scraping with Python', and I keep having this certificate problem:
Read more >
[Solved] urllib.error.URLError: urlopen error [SSL ...
To Solve urllib.error.URLError: urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certifica.
Read more >
[Solved] urllib.error.URLError: [SSL - Clay-Technology World
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)>. I never got this error in ...
Read more >
urllib.error.urlerror: <urlopen error [ssl: certificate_verify_failed ...
It occurs only on Windows. Error says: urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local ...
Read more >
python - CERTIFICATE_VERIFY_FAILED error - Ask Ubuntu
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)>.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found