Know a great AI tool or AI news source? Submit it to AiByts
reference21 min read

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,…

By Runcell TeamRuncell Blog

Read the full story

Originally published by Runcell Blog on Nov 16, 2026.

Read on Runcell Blog(opens in a new tab)

Comments

Sign in to join the discussion.

No comments yet — be the first to share your thoughts.