py2exe
Verfasst: Samstag 25. September 2010, 21:45
Hallo,
gerade versuche ich bei mir py2exe zum laufen zu bringen und habe gemäß
dem Tutorial http://www.py2exe.org/index.cgi/Tutorial#Step2
einen Versuch mit hello.py unternommen:
Was nun ?
joh
gerade versuche ich bei mir py2exe zum laufen zu bringen und habe gemäß
dem Tutorial http://www.py2exe.org/index.cgi/Tutorial#Step2
einen Versuch mit hello.py unternommen:
Code: Alles auswählen
C:\Programme\python26\WORK>python setup.py py2exe
c:\Programme\python26\lib\site-packages\py2exe\build_exe.py:16: DeprecationWarni
ng: the sets module is deprecated
import sets
running py2exe
creating C:\Programme\python26\WORK\build
creating C:\Programme\python26\WORK\build\bdist.win32
creating C:\Programme\python26\WORK\build\bdist.win32\winexe
creating C:\Programme\python26\WORK\build\bdist.win32\winexe\collect-2.6
creating C:\Programme\python26\WORK\build\bdist.win32\winexe\bundle-2.6
creating C:\Programme\python26\WORK\build\bdist.win32\winexe\temp
creating C:\Programme\python26\WORK\dist
*** searching for required modules ***
*** parsing results ***
creating python loader for extension 'select' (c:\Programme\python26\DLLs\select
.pyd -> select.pyd)
creating python loader for extension 'unicodedata' (c:\Programme\python26\DLLs\u
nicodedata.pyd -> unicodedata.pyd)
creating python loader for extension 'bz2' (c:\Programme\python26\DLLs\bz2.pyd -
> bz2.pyd)
*** finding dlls needed ***
Traceback (most recent call last):
File "setup.py", line 4, in <module>
setup(console=['hello.py'])
File "c:\Programme\python26\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "c:\Programme\python26\lib\distutils\dist.py", line 975, in run_commands
self.run_command(cmd)
File "c:\Programme\python26\lib\distutils\dist.py", line 995, in run_command
cmd_obj.run()
File "c:\Programme\python26\lib\site-packages\py2exe\build_exe.py", line 243,
in run
self._run()
File "c:\Programme\python26\lib\site-packages\py2exe\build_exe.py", line 305,
in _run
dlls = self.find_dlls(extensions)
File "c:\Programme\python26\lib\site-packages\py2exe\build_exe.py", line 389,
in find_dlls
self.dll_excludes)
File "c:\Programme\python26\lib\site-packages\py2exe\build_exe.py", line 1021,
in find_dependend_dlls
import py2exe_util
ImportError: DLL load failed: %1 ist keine zulõssige Win32-Anwendung.
C:\Programme\python26\WORK>
joh