api = twitter.Api() AttributeError: 'module' object has no attribute 'Api

后端 未结 7 1158
借酒劲吻你
借酒劲吻你 2020-12-17 10:14

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

7条回答
  •  被撕碎了的回忆
    2020-12-17 10:47

    If you are using the python-twitter wrapper. during installation process it must have created an eggfile with the name twitter.py.egg rename it by some other name like help.py.egg it will work for you.

提交回复
热议问题