Hallo zusammen,
ich versuche nun mein Pythonprogramm in eine EXE-Datei mit py2exe umzuwandeln.
Die grundsätzliche Vorgehensweise ist mir klar, nur erhalte ich immer einen Fehler und kann mir diesen nicht erklären.
Das Programm hat nur einen Printbefehl: print ("Hello World"). Daran sollte es also nicht leiden.
Vielleicht kann mir ja jemand helfen!
Vielen Dank vorab.
File "C:\Users\RCC Ulc\AppData\Local\Programs\Python\Python37-32\lib\site-packages\py2exe\mf3.py", line 274, in _gcd_import
return self._find_and_load(name)
File "C:\Users\RCC Ulc\AppData\Local\Programs\Python\Python37-32\lib\site-packages\py2exe\mf3.py", line 357, in _find_and_load
self._scan_code(module.__code__, module)
File "C:\Users\RCC Ulc\AppData\Local\Programs\Python\Python37-32\lib\site-packages\py2exe\mf3.py", line 388, in _scan_code
for what, args in self._scan_opcodes(code):
File "C:\Users\RCC Ulc\AppData\Local\Programs\Python\Python37-32\lib\site-packages\py2exe\mf3.py", line 417, in _scan_opcodes
yield "store", (names[oparg],)
IndexError: tuple index out of range
C:\Users\RCC Ulc\Dropbox\Python\Produktion\Test>
py2exe
https://stackoverflow.com/questions/415 ... ing-py2exe Dort steht dass das Projekt wahrscheinlich eingestellt wurde und die neuen Python Versionen nicht mehr unterstüzt. Versuchs mal mit PyInstaller.
-
- User
- Beiträge: 40
- Registriert: Donnerstag 7. März 2019, 09:48
Danke für den Tip!
Funktioniert reibungslos
Funktioniert reibungslos