rhiever / TwitterFollowBot

A Python bot that automates several actions on Twitter, such as following users and favoriting tweets.
GNU General Public License v3.0
1.31k stars 447 forks source link

Getting A no module name twitter error #41

Closed gomd139 closed 9 years ago

gomd139 commented 9 years ago

this is what I'm getting

Traceback (most recent call last): File "/Users/jeremyyoung/Desktop/TwitterFollowBot-master/TwitterFollowBot/init.py", line 21, in from twitter import Twitter, OAuth, TwitterHTTPError ImportError: No module named 'twitter

Any Help?

rhiever commented 9 years ago

You need to install the Twitter API library: pip install twitter

On Sunday, June 7, 2015, gomd139 notifications@github.com wrote:

this is what I'm getting

Traceback (most recent call last): File "/Users/jeremyyoung/Desktop/TwitterFollowBot-master/TwitterFollowBot/ init.py", line 21, in from twitter import Twitter, OAuth, TwitterHTTPError ImportError: No module named 'twitter

Any Help?

— Reply to this email directly or view it on GitHub https://github.com/rhiever/TwitterFollowBot/issues/41.

Randal S. Olson, Ph.D.

E-mail: rso@randalolson.com | Twitter: @randal_olson https://twitter.com/randal_olson http://www.randalolson.com

gomd139 commented 9 years ago

I'm using a macbook and i ran that i my terminal command line and i recieved:

Requirement already satisfied (use --upgrade to upgrade): twitter in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages Jeremys-Air:~ jeremyyoung$

gomd139 commented 9 years ago

however I still get that error message

rhiever commented 9 years ago

Try the --upgrade command as well like it suggested. If that doesn't work, uninstall and reinstall all of the packages - there's some sort of weird package linkage error going on, I think. I couldn't reproduce this locally on my Mac.

On Sunday, June 7, 2015, gomd139 notifications@github.com wrote:

however I still get that error message

— Reply to this email directly or view it on GitHub https://github.com/rhiever/TwitterFollowBot/issues/41#issuecomment-109813051 .

Randal S. Olson, Ph.D.

E-mail: rso@randalolson.com | Twitter: @randal_olson https://twitter.com/randal_olson http://www.randalolson.com

rhiever commented 9 years ago

Any progress with this issue?

patricmutwiri commented 6 years ago

Install all the dependencies first. One by one, error by error.