Tweepy SSLError regarding ssl certificate

后端 未结 5 1203
不思量自难忘°
不思量自难忘° 2021-01-06 05:13

I am running a REST API (Search API) with Tweepy in Python. I worked the program at home and it\'s totally fine. But now I am working on this in different networks and I got

5条回答
  •  有刺的猬
    2021-01-06 05:52

    Adding verify=False will ignore the validation that has to be made and all the data will be transferred in plain text without any encryption.

    pip install certifi
    

    The above installation fixes the bad handshake and ssl error.

提交回复
热议问题