mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-25 11:45:49 +03:00
[GH-ISSUE #504] Failed to execute script #393
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @huseyincenik on GitHub (Oct 5, 2024).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/504
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):@github-actions[bot] commented on GitHub (Oct 5, 2024):
👋 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.
@brentvollebregt commented on GitHub (Oct 5, 2024):
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.