EXE Built with PyInstaller Takes Too Long to Open #8995
Unanswered
07rohanraj
asked this question in
Help
Replies: 1 comment 1 reply
-
There's not really anything we can do about it. Don't use onefile mode. Avoid bloat-heavy libraries like pandas. The rest is between you, your application and Windows. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I created an executable using PyInstaller, but I'm experiencing significant delays when opening it. The application should open within 20 seconds, but it is currently taking over a minute.
Here’s some context:
My PyInstaller command:
pyinstaller --onefile --windowed --clean --collect-all nicegui --icon ".\assets\shield.ico" --add-data "assets/*;assets" --add-data "frontend;frontend" --add-data "backend;backend" --add-data "_res/*;cyclonedx/schema/_res" .\backend\SBOM_Generator_GUI.py
Beta Was this translation helpful? Give feedback.
All reactions