ich möchte gerne mein Python Projekt zur Exe bauen lassen mittels py2exe, so das es unter Windows funktioniert.
Unter Linux funktioniert das Projekt tadellos.
Leider bekomme ich beim ausführen folgenden Fehler, ich hoffe mir kann da jemand helfen:
Code: Alles auswählen
C:\Users\builder\Desktop\exampleproject-master>e:\python\python.exe build_exe.py py2exe
running py2exe
running build_py
1 missing Modules
------------------
? readline imported from cmd, code, pdb
Building shared code archive 'dist\library.zip'.
Traceback (most recent call last):
File "build_exe.py", line 19, in <module>
version='1.0',
File "e:\python\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "e:\python\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "e:\python\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "e:\python\lib\site-packages\py2exe\distutils_buildexe.py", line 188, in
run
self._run()
File "e:\python\lib\site-packages\py2exe\distutils_buildexe.py", line 268, in
_run
builder.build()
File "e:\python\lib\site-packages\py2exe\runtime.py", line 250, in build
self.build_archive(libpath, delete_existing_resources=True)
File "e:\python\lib\site-packages\py2exe\runtime.py", line 413, in build_archi
ve
assert mod.__file__.endswith(EXTENSION_SUFFIXES[0])
AssertionError
C:\Users\builder\Desktop\exampleproject-master>
versuche ich das Package "readline" zu installieren bekomme ich folgenden Fehler:
"error: this module is not meant to work in Windows"
weiß jemand wie ich das Python Projekt unter Windows für Windows mittels py2exe gebaut bekomme?
danke für die Hilfe
blubbersuelze