[PYI-3780:ERROR] Could not load PyInstaller's embedded PKG archive from the executable #9177
Replies: 2 comments 4 replies
-
|
My first guess would be that the executable ends up being corrupted during transfer, for whatever reason, and so executable-embedded archive cannot be found or loaded. Does this happen if you launch the executable immediately after it is built (i.e., on the build machine, without trying to move it), or after you transfer it (e.g. from github actions workflow to your machine)? If there is a transfer involved in between, are you sure the executable is fully transferred (e.g., if you compute a hash over it immediately after the build, and after transferring it, do they match)? You can also try building with |
Beta Was this translation helpful? Give feedback.
-
|
The same error happens when launching the executable immediately after it's built AND after I transferred it from github actions workflow to my machine. There is no transferring at all in the first case. I will try building with debug tomorrow and see if there is more detail. Thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I try to convert my python to exe and this is what I get when trying to run the exe: [PYI-3780:ERROR] Could not load PyInstaller's embedded PKG archive from the executable
All of these are most recent versions, anyone has a clue how this can happen. Building local or use github workflow action to build are getting the same result on the generated exe. There is no previous build absolutely.
Beta Was this translation helpful? Give feedback.
All reactions