Ich versuche, mein Projekt mit PyInstaller zu exportieren, damit ich meine App außerhalb von VS Code verwenden kann. Ich habe den ganzen Tag versucht, dies zum Laufen zu bringen, aber es treten immer wieder Fehler auf. Der Fehler, den ich derzeit erhalte, lautet wie folgt:
Traceback (most recent call last):
File "importlib/metadata/__init__.py", line 407, in from_name
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 5, in
File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module
File "streamlit/__init__.py", line 63, in
File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module
File "streamlit/version.py", line 18, in
File "importlib/metadata/__init__.py", line 987, in version
File "importlib/metadata/__init__.py", line 960, in distribution
File "importlib/metadata/__init__.py", line 409, in from_name
importlib.metadata.PackageNotFoundError: No package metadata was found for streamlit
[PYI-46881:ERROR] Failed to execute script 'main' due to unhandled exception!
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Proces voltooid]
Kann mir jemand dabei helfen?
Das Exportieren einer Python-Datei mit Pyinstaller funktioniert nicht ⇐ Python
-
- Similar Topics
- Replies
- Views
- Last post