osome-iu / botometer-python

A Python API for Botometer by OSoMe
https://botometer.osome.iu.edu
MIT License
370 stars 59 forks source link

No module named 'tweepy.error' #65

Closed qwerfdsaplking closed 2 years ago

qwerfdsaplking commented 2 years ago

When I import botometer, I get the error: No module named 'tweepy.error'. Could you please help me?

clayadavis commented 2 years ago

It sound like you need to install tweepy, as mentioned in the dependencies section of the README.

shiwangsimba commented 2 years ago

I also encountered this problem. I found out that some things were renamed after the Tweepy version was updated. For example: 'error' was renamed 'errors', so you need to use 'tweepy.errors', 'RateLimitError' was renamed 'TooManyRequests', 'TweepError' was renamed 'TweepyException', if you don't want to change the name, then reduce the version of Tweep to 3.10.0

yang3kc commented 2 years ago

Please see our FAQ: https://github.com/IUNetSci/botometer-python/wiki/Troubleshooting-&-FAQ