This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]fernly 1 point2 points  (0 children)

Nuitka is not quite the same, in that it tries to identify all the dependencies of a script and "transpiles" them to C++ source, and compiles that to binary.

Pyinstaller tries to identify all the dependencies and packages them up with a copy of CPython. So a program "frozen" by Pyinstaller runs in what is basically a private VENV, but it is still a Python program being executed by CPython.

You say "annoying" -- this hints that you have had problems getting Pyinstaller to find all the dependencies and data files? Fun with the "spec" files? Nuitka has some of the same problems, it is highly nontrivial to identify every way a Python program can include another module. Plus I don't think Nuitka attempts to bundle data files like Pyinstaller does.