New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Splash Screen Issue when use onefile #8103
Comments
In contrast to earlier issues with onefile splash and missing Can you open the generated onefile executable using the |
Yes, the library is there in small casing, as it is named in the Windows System32 folder.
I attached the complete output of the top level in the "content_testSplash.txt" |
Thanks for confirming. We need to make |
Hello,
first for me the Issue looked similar to #7978
I wrote a super simple script, so I can find the package who triggers the error message:
"SPLASH: Cannot fine requirement VCRUNTIME140.dll in the archive".
The message is shown instant after the start. The program of the script itself will be started, only the splash screen is not shown.
I tested this on pyInstaller 6.2.0 and 6.1.0
Python is 3.10.6
All packages install with conda from conda-forge
Platform is Windows 10
My small test script:
When I build the script with the command:
pyinstaller testSplash.py -w --clean -i test.ico --exclude-module numpy --onefile --splash test.png
the splash screen shows and the program crashs because it can't import numpy. I use numpy version 1.26.0 form conda-forge.
As I write the bugreport I checked on your information "How to report bugs". So I tested also the --onedir option.
pyinstaller testSplash.py -w --clean -i test.ico --onedir --splash test.png
In this case, the splash screen works without any issues. The "vcruntime140.dll" file is in the directory "_internal" present, even with the numpy package is present and not excluded. Not sure why the packing to onefile creates sometimes a missing library.
Right now I'm fine using the onedir option, but would be nice if onefile works too.
The text was updated successfully, but these errors were encountered: