[Tutor] base64MIME module import error

Eddie S sowden at gmail.com
Mon Nov 7 18:05:44 CET 2005


I was just trying to make a simple cgi email form when I encountered
this error.

Traceback (most recent call last):
  File "/Users/eddie/Sites/python/email.py", line 4, in ?
    import smtplib
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/smtplib.py",
line 49, in ?
    from email.base64MIME import encode as encode_base64
ImportError: No module named base64MIME

It says it can not find the module base64MIME. I also tried importing
the module from the command line and that worked fine.

Any help is appreciated

Eddie Sowden


More information about the Tutor mailing list