Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL: CERTIFICATE_VERIFY_FAILED #47

Open
multitudes opened this issue Mar 1, 2020 · 2 comments
Open

SSL: CERTIFICATE_VERIFY_FAILED #47

multitudes opened this issue Mar 1, 2020 · 2 comments

Comments

@multitudes
Copy link

I followed all steps in the book till example 1-1. I created my keys and registered an app on the website. The keys are working because I tested with another older python program. (with the twurl module disabling the ssl certification checks)
The error here is 'SSL: CERTIFICATE_VERIFY_FAILED'
Is there an extra step I need to fro to get it working? I am working with python 3.8 and I have the Jupiyter notebooks installed.
The first part of the code is ok. I created a twitter_api object successfully
twitter_api = twitter.Twitter(auth=auth)
but this fails:
world_trends = twitter_api.trends.place(_id=1)
with the error
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>

Anybody with the same problem?

@kikiiiiii
Copy link

I saw the same issue, any solution ?

@andrea-poggi
Copy link

Very same problem for me too: python 3.7 and jupyter notebook, cannot get this example to work.I found many people having these issue, but no solution worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants