charlierguo / gmail

A Pythonic interface for Google Mail
MIT License
1.77k stars 386 forks source link

AttributeError: 'module' object has no attribute 'login' #58

Open ronisegoly opened 9 years ago

ronisegoly commented 9 years ago

I have the library on my ubuntu cloud and it works fine When installing on my raspberry pie I get this error AttributeError: 'module' object has no attribute 'login' Any clue?

calcutec commented 9 years ago

Had the same error when I tried to install using install.py. The script didn't unpack the "gmail" folder with the init.py file which is a second level deep in the project. I moved that manually to the site-packages folder and it is now importing fine.

ajdumanhug commented 8 years ago

Having the same problem. @calcutec how did you manually moved the gmail folder to site-packages?

adityathebe commented 7 years ago

Having the same issue

RajNirmal commented 7 years ago

Copy the init.py to your working directory and it will work fine.

tvieiragoncalves commented 7 years ago

I have the same issue as well