I'm using Django and when pushing to Heroku I'm finding the 'module' object has no attribute 'Api' error. I'm aware of the error - the twitter.__file__
points to the twitter.pyc instead of the twitter.py. When the .pyc doesn't exist the .py is found first, however, it still doesn't work when I run the code.
Not sure how I should continue - Should I try:
- to ignore the .pyc using imp.load_module,
- symlink
- Use another much better solution :-)
Finding this python-twitter integration a little frustrating as I was using Tweepy perfectly until last week when it stopped working.
Would really appreciate the help