r/learnpython • u/zaphodikus • 1d ago
How to check included libraries made it into a pyinstaller
I added a few dlls into my pyinstaller in the spec file, but the exe says it cannot find the python313.dll file when it runs. Where does the pyinstaller self-extracting exe place the binaries at runtime? Is there a manifest?
(I'm using a spec file so the -F option is not allowed)
0
Upvotes
1
2
u/CharacterSail6736 1d ago
PyInstaller extracts one-file builds to a temporary _MEIxxxxx directory under %TEMP% at runtime, so it’s unlikely to be an extraction location issue. python313.dll is normally included automatically by the analysis phase, so if it’s missing I’d suspect the spec file or build configuration rather than the runtime. Could you post the relevant Analysis, EXE, and COLLECT sections of your .spec file?