EXE Built with PyInstaller Takes Too Long to Open #8995
Replies: 2 comments 2 replies
|
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. |
|
Your command uses
|
Uh oh!
There was an error while loading. Please reload this page.
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.pyAll reactions