PyInstaller EXE Works in Python but Fails When Frozen: A Reproduced Failure Matrix (--add-data, Hidden Imports, Onefile)
Ten small cases that run fine as Python (nine break after PyInstaller, one is a control that does not), each built onedir and onefile and launched from an empty directory: missing data files, the --add-data separator and folder trap, dynamic imports, package metadata, the wrong build environment,…
Runcell Blog21 min read