[Fixed]-Cannot import name is_secure_transport

10👍

Updating the oauthlib version definitely works.

Just do this:

sudo pip install --upgrade oauthlib 

7👍

you should uninstall tweepy, upgrade oauthlib and then reinstall tweepy as root:

sudo pip uninstall tweepy
sudo pip install oauthlib --upgrade
sudo apt-get install python-tweepy

Had the same problem and this worked fine for me.

👤Liam

Leave a comment