Skip to content

Unhandled exception error while running the YOLO (ultralytics) included script. #8247

Answered by rokm
haqueshenas asked this question in Help
Discussion options

You must be logged in to vote

Thanks. I am using PyInstaller 6.2.0 and pyinstaller-hooks-contrib 2023.10. I will upgrade them and try to rebuild the exe file using the revised file paths.

Yeah, the issue with splash and VCRUNTIME140.dll in onefile mode should be fixed in 6.3.0 (#8106).

Besides, can you please give me some references to 1. Reduce the initial time of opening the .exe file (particularly in One file mode)? Now, it takes 1 to 2 minutes!

Don't use onefile mode. It is not meant for large applications (such as ones using torch).

  1. How to reduce the size of .exe file, if possible?

If you have to ask, then you probably can't. Most of the size comes from shared libraries and extensions in your dependencies…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@haqueshenas
Comment options

@rokm
Comment options

@haqueshenas
Comment options

@rokm
Comment options

Answer selected by haqueshenas
@haqueshenas
Comment options

@rokm
Comment options

@haqueshenas
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants