When I try to run basic hello tweepy,
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_token_secret)
api = tweepy.API(auth)
public_tweets = api.home_timeline()
for tweet in public_tweets:
print tweet.text
I get the following error,
tweepy.error.TweepError: Failed to send request: ‘module’ object has no attribute ‘HTTPMessage’
But when my friend was able to run the same script without any errors but it’s from another IP address.
Any ideas what might be causing this error just for me?