Traceback (most recent call last):
File "email.py", line 2, in
import gmail
File "build/bdist.linux-armv6l/egg/gmail/init.py", line 16, in
from .gmail import Gmail
File "build/bdist.linux-armv6l/egg/gmail/gmail.py", line 4, in
File "build/bdist.linux-armv6l/egg/gmail/mailbox.py", line 1, in
"""Read/write support for Maildir, mbox, MH, Babyl, and MMDF mailboxes."""
File "build/bdist.linux-armv6l/egg/gmail/message.py", line 2, in
File "/home/pi/AirConRemote/email.py", line 8, in
g = gmail.login(username, password)
AttributeError: 'module' object has no attribute 'login'
Note: The 'username' and 'password' have been hidden for security reasons.
However it works by using python in command line.
Traceback (most recent call last): File "email.py", line 2, in
import gmail
File "build/bdist.linux-armv6l/egg/gmail/init.py", line 16, in
from .gmail import Gmail
File "build/bdist.linux-armv6l/egg/gmail/gmail.py", line 4, in
File "build/bdist.linux-armv6l/egg/gmail/mailbox.py", line 1, in
"""Read/write support for Maildir, mbox, MH, Babyl, and MMDF mailboxes."""
File "build/bdist.linux-armv6l/egg/gmail/message.py", line 2, in
File "/home/pi/AirConRemote/email.py", line 8, in
g = gmail.login(username, password)
AttributeError: 'module' object has no attribute 'login'
Note: The 'username' and 'password' have been hidden for security reasons. However it works by using python in command line.