Failed to execute script #505
Replies: 3 comments
-
👋 Hi, just a reminder that if you haven't read the help post yet, give it a read to see if your issue is covered in it and make sure to follow the debugging section. Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help post, video or create a new discussion. |
Beta Was this translation helpful? Give feedback.
-
Looks like this is an issue with packaging this specific library (streamlit) and not auto-py-to-exe or PyInstaller. I'll move this to a discussion as asked for in CONTRIBUTING.md. |
Beta Was this translation helpful? Give feedback.
-
I would recommend adding I imagine after this you will have more issues as streamlit probably requires other files to be bundled - in this case, you can add these using the "Additional Files" section. |
Beta Was this translation helpful? Give feedback.
-
Quick Checks
Describe the bug
Hello, I get an error when I try to convert the streamlit application to exe. I tried hidden import but it did not work.
To Reproduce
Steps to reproduce the behavior (install dependencies, do this in the auto-py-to-exe UI):
Expected behavior
Traceback (most recent call last):
File "langchain_fast.py", line 2, in
File "PyInstaller\loader\pyimod02_importers.py", line 378, in exec_module
File "streamlit_init_.py", line 64, in
File "PyInstaller\loader\pyimod02_importers.py", line 378, in exec_module
File "streamlit\version.py", line 38, in
File "importlib\metadata_init_.py", line 996, in version
File "importlib\metadata_init_.py", line 969, in distribution
File "importlib\metadata_init_.py", line 548, in from_name
importlib.metadata.PackageNotFoundError: No package metadata was found for streamlit
Your Environment:
3.10.14
):2.44.2
):6.10.0
):0.17.0
):Beta Was this translation helpful? Give feedback.
All reactions