py2exe Problem

Probleme bei der Installation?
Antworten
sabram
User
Beiträge: 28
Registriert: Mittwoch 5. Januar 2011, 13:42

hallo ich versuche gerade eine wxPython anwendung als exe für Windows zu verpacken... bekomme aber immer diese Fehlermeldung

Code: Alles auswählen

>>> running py2exe
*** searching for required modules ***
*** parsing results ***
*** finding dlls needed ***
Traceback (most recent call last):
  File "C:\Program Files (x86)\Common Files\Python\Python25\lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript
    exec codeObject in __main__.__dict__
  File "D:\Windows\python\Selfmade\setup.py", line 105, in <module>
    windows = [test_wx]
  File "C:\Program Files (x86)\Common Files\Python\Python25\Lib\distutils\core.py", line 151, in setup
    dist.run_commands()
  File "C:\Program Files (x86)\Common Files\Python\Python25\Lib\distutils\dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "C:\Program Files (x86)\Common Files\Python\Python25\Lib\distutils\dist.py", line 994, in run_command
    cmd_obj.run()
  File "C:\Program Files (x86)\Common Files\Python\Python25\lib\site-packages\py2exe\build_exe.py", line 243, in run
    self._run()
  File "C:\Program Files (x86)\Common Files\Python\Python25\lib\site-packages\py2exe\build_exe.py", line 305, in _run
    dlls = self.find_dlls(extensions)
  File "C:\Program Files (x86)\Common Files\Python\Python25\lib\site-packages\py2exe\build_exe.py", line 389, in find_dlls
    self.dll_excludes)
  File "C:\Program Files (x86)\Common Files\Python\Python25\lib\site-packages\py2exe\build_exe.py", line 1021, in find_dependend_dlls
    import py2exe_util
ImportError: DLL load failed with error code 193
jemand eine ahnugn was ich dagegen machen kann?
sabram
User
Beiträge: 28
Registriert: Mittwoch 5. Januar 2011, 13:42

Falls das Problem mal bei jemandem Auftritt:

Es liegt an einer falschen 64bit bzw 32bit version von py2exe bzw dazugehörigem Python.
Somit Problem solved :)
Antworten