py2exe
Verfasst: Freitag 17. Januar 2020, 09:59
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>
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>