views:

208

answers:

2

Hi guys, im trying to send my title post to twitter, in my local machine is working great!!!, but in remote i have this error from the snippet file:

AttributeError: 'module' object has no attribute 'Api'

im Using python-twitter and this snippet, i dont know why the error, i tested the python-twitter with commands like import twitter and sent post to twitter from the python shell. Any idea?, thanks

A: 

I had the same problem on a project recently. Do you have a folder in your application directory named twitter or a file named twitter.py? A file or folder in your application directory can create a conflict with the python-twitter library.

Thomas
A: 

Either installation is not proper. Anyway , take look at the documentation at http://code.google.com/p/python-twitter/

Jijoy