I have been trying to write a simple mention grabber to get started with the twitter Api. Howsoever I\'ve been experienceing some difficulties when initializing the Api. Run
i found solution to this problem in following site
[http://himanen.info/solved-attributeerror-module-object-has-no-attribute-api/][1]
There are two Python libraries conflicting: twitter library and python-twitter library. The solution was quite straightforward:
pip uninstall twitter Then I just made it sure that python-twitter was certainly installed:
pip install python-twitter thank you himanen..it really works