mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-25 11:45:49 +03:00
[GH-ISSUE #528] Pyinstaller takes 2 hours to build exe #406
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 @Doccy-soft on GitHub (Apr 2, 2025).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/528
I have a python app modules to build exe from them. It includes torch, tensorflow, and other heavy libs. I work in a virtual environment, but it takes >2 hours for pyinstaller to build the exe. The first-run and second run takes 5 seconds. I compiled bootloader manually to avoid false-positive issues.
What can I do to understand this behaviour?
@github-actions[bot] commented on GitHub (Apr 2, 2025):
👋 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 (Apr 2, 2025):
This will have to be a question for the pyinstaller team - I am unable to answer this sorry.
The reason the second build takes 5 seconds is because of the build cache.
@github-actions[bot] commented on GitHub (May 3, 2025):
This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment on this issue or it will be closed in 5 days.
@github-actions[bot] commented on GitHub (May 8, 2025):
Closing issue due to no activity in more than 60 days.