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)>
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.
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 errorurllib.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?