problem mit py2exe / pyinstaller und modul email
Verfasst: Sonntag 20. Januar 2008, 21:36
hi
Ich habe ein EmailProgramm geschrieben mit den Modulen smtplib und email.
Das ganze ist ziemlich groß deshalb hier: http://nopaste.com/p/aV2CJKMJo
Nun zum Problem. Wenn ich das ding nun mit PyInstaller oder Py2Exe umwandel bekomm ich den Fehler das er email.MIMEMUltipart.MIMEMultipart('related') nicht kennt
Beim kompilieren habe ich diese Fehlermeldung bekommen
Ich habe ein EmailProgramm geschrieben mit den Modulen smtplib und email.
Das ganze ist ziemlich groß deshalb hier: http://nopaste.com/p/aV2CJKMJo
Nun zum Problem. Wenn ich das ding nun mit PyInstaller oder Py2Exe umwandel bekomm ich den Fehler das er email.MIMEMUltipart.MIMEMultipart('related') nicht kennt
Beim kompilieren habe ich diese Fehlermeldung bekommen
Wie kann ich das teil denn nu zum laufen bringen? gibt es noch einen anderen Compiler?W: no module named posix (conditional import by os)
W: no module named optik.__all__ (top-level import by optparse)
W: no module named fcntl (top-level import by tempfile)
W: no module named readline (delayed, conditional import by cmd)
W: no module named rourl2path (conditional import by urllib)
W: no module named readline (delayed import by pdb)
W: no module named pwd (delayed, conditional import by posixpath)
W: no module named termios (top-level import by getpass)
W: no module named org (top-level import by pickle)
W: no module named ic (delayed import by urllib)
W: no module named pwd (delayed import by getpass)
W: no module named posix (delayed, conditional import by iu)
W: no module named EasyDialogs (conditional import by getpass)
W: no module named SOCKS (top-level import by ftplib)
W: no module named email.MIMEMultipart (top-level import by __main__)
W: no module named org (top-level import by copy)
W: no module named _emx_link (conditional import by os)
W: no module named optik.__version__ (top-level import by optparse)
W: no module named Carbon (conditional import by tempfile)
W: delayed exec statement detected at line 0 - bdb (C:\Python25\lib\bdb.pyc)
W: delayed eval hack detected at line 0 - bdb (C:\Python25\lib\bdb.pyc)
W: delayed eval hack detected at line 0 - bdb (C:\Python25\lib\bdb.pyc)
W: __all__ is built strangely at line 0 - optparse (C:\Dokumente und Einstellungen\Frank Zeche\Desktop\pyinstaller-1.3\optparse.pyc)
W: delayed conditional __import__ hack detected at line 0 - doctest (C:\Python25\lib\doctest.pyc)
W: delayed exec statement detected at line 0 - doctest (C:\Python25\lib\doctest.pyc)
W: __all__ is built strangely at line 0 - tokenize (C:\Python25\lib\tokenize.pyc)
W: delayed __import__ hack detected at line 0 - pickle (C:\Python25\lib\pickle.pyc)
W: delayed __import__ hack detected at line 0 - pickle (C:\Python25\lib\pickle.pyc)
W: delayed conditional eval hack detected at line 0 - gopherlib (C:\Python25\lib\gopherlib.pyc)
W: delayed __import__ hack detected at line 0 - encodings (C:\Python25\lib\encodings\__init__.pyc)
W: __all__ is built strangely at line 0 - dis (C:\Python25\lib\dis.pyc)
W: top-level exec statement detected at line 0 - hashlib (C:\Python25\lib\hashlib.pyc)
W: top-level conditional exec statement detected at line 0 - hashlib (C:\Python25\lib\hashlib.pyc)
W: delayed conditional eval hack detected at line 0 - warnings (C:\Python25\lib\warnings.pyc)
W: delayed conditional __import__ hack detected at line 0 - warnings (C:\Python25\lib\warnings.pyc)
W: delayed __import__ hack detected at line 0 - email (C:\Python25\lib\email\__init__.pyc)
W: name message_from_file not found - email (C:\Python25\lib\email\__init__.pyc)
W: name message_from_string not found - email (C:\Python25\lib\email\__init__.pyc)
W: name MIMEText not found - email (C:\Python25\lib\email\__init__.pyc)
W: name MIMENonMultipart not found - email (C:\Python25\lib\email\__init__.pyc)
W: name MIMEMultipart not found - email (C:\Python25\lib\email\__init__.pyc)
W: name MIMEMessage not found - email (C:\Python25\lib\email\__init__.pyc)
W: name MIMEImage not found - email (C:\Python25\lib\email\__init__.pyc)
W: name MIMEBase not found - email (C:\Python25\lib\email\__init__.pyc)
W: name MIMEAudio not found - email (C:\Python25\lib\email\__init__.pyc)
W: __all__ is built strangely at line 0 - wx (C:\Python25\lib\site-packages\wx-2.8-msw-unicode\wx\__init__.pyc)
W: __all__ is built strangely at line 0 - wx (C:\Python25\lib\site-packages\wx-2.8-msw-unicode\wx\__init__.pyc)
W: delayed exec statement detected at line 0 - pdb (C:\Python25\lib\pdb.pyc)
W: delayed conditional eval hack detected at line 0 - pdb (C:\Python25\lib\pdb.pyc)
W: delayed eval hack detected at line 0 - pdb (C:\Python25\lib\pdb.pyc)
W: delayed conditional eval hack detected at line 0 - pdb (C:\Python25\lib\pdb.pyc)
W: delayed eval hack detected at line 0 - pdb (C:\Python25\lib\pdb.pyc)
W: delayed conditional __import__ hack detected at line 0 - unittest (C:\Python25\lib\unittest.pyc)
W: delayed conditional __import__ hack detected at line 0 - unittest (C:\Python25\lib\unittest.pyc)
W: delayed conditional exec statement detected at line 0 - iu (C:\Dokumente und Einstellungen\Frank Zeche\Desktop\pyinstaller-1.3\iu.pyc)
W: delayed conditional exec statement detected at line 0 - iu (C:\Dokumente und Einstellungen\Frank Zeche\Desktop\pyinstaller-1.3\iu.pyc)
W: delayed __import__ hack detected at line 0 - optik.option_parser (C:\Dokumente und Einstellungen\Frank Zeche\Desktop\pyinstaller-1.3\optik\option_parser.pyc)
W: __all__ is built strangely at line 0 - optik (C:\Dokumente und Einstellungen\Frank Zeche\Desktop\pyinstaller-1.3\optik\__init__.pyc)
W: delayed exec statement detected at line 0 - socket (C:\Python25\lib\socket.pyc)
W: delayed eval hack detected at line 0 - os (C:\Python25\lib\os.pyc)
W: __all__ is built strangely at line 0 - __future__ (C:\Python25\lib\__future__.pyc)
W: delayed eval hack detected at line 0 - gettext (C:\Python25\lib\gettext.pyc)