Der Pyinstaller -Fehler konnte das Skript 'PyiBoot01_Bootstrap' aufgrund uneingeschränkter Ausnahme nicht ausführen! AlsPython

Python-Programme
Anonymous
 Der Pyinstaller -Fehler konnte das Skript 'PyiBoot01_Bootstrap' aufgrund uneingeschränkter Ausnahme nicht ausführen! Als

Post by Anonymous »

Ich habe diesen Fehler erhalten, als ich versuchte, eine .exe -Datei aus der .py -Datei mit PyInstaller zu erstellen.
Der vollständige Fehler: < /p>

Code: Select all

Traceback (most recent call last):
File "PyInstaller\loader\pyimod02_importers.py", line 22, in 
File "pathlib.py", line 14, in 
File "urllib\parse.py", line 40, in 
ModuleNotFoundError: No module named 'ipaddress'
Traceback (most recent call last):
File "PyInstaller\loader\pyiboot01_bootstrap.py", line 17, in 
ModuleNotFoundError: No module named 'pyimod02_importers'
[3236] Failed to execute script 'pyiboot01_bootstrap' due to unhandled exception!
< /code>
Ich habe PyInstaller verwendet, aber ich erhalte nie einen Fehler.pyinstaller --onefile main.py
< /code>
PyInstaller -Version: 5.8.0 < /p>
Python -Version: 3.11.4 < /p>
Der Python -Dateicode: < /p>
print('h')

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post