I've installed tweepy and have no problem with "import tweepy" being in my code. When I try to use anything in tweepy, however, I'm faced with the following error: "ImportError: cannot import name 'OAuthHandler'"
from tweepy import OAuthHandler
consumer_token = 'XXX'
consumer_secret = 'YYY'
auth = tweepy.OAuthHandler(consumer_token, consumer_secret)
All solutions on stackoverflow say to try this, but it still does not work for me
from tweepy.auth import OAuthHandler
consumer_token = 'XXX'
consumer_secret = 'YYY'
auth = tweepy.OAuthHandler(consumer_token, consumer_secret)