Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    email.MIMEText giving problem with py2exe

    Hi ,

    i am using
    from email.MIMEText import MIMEText

    Only script is running fine.
    But when i made exe by py2exe it is giving this below error.

    Traceback (most recent call last):
    File "Mymail.py", line 4, in <module>
    File "email\__init__.pyc", line 79, in __getattr__
    ImportError: No module named text


    How to solve?

  • #2
    New to the CF scene
    Join Date
    May 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello,

    i had similar problem and found out that changing from
    from email import MIMEText
    to
    from email import *
    helps


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •