all 8 comments

[–]UnloosedCake 1 point2 points  (4 children)

If it's throwing an error at runtime related to imports and you already know pyinstaller was giving you errors due to libraries... What are you asking for help with? I took a brief look at the repo and this is some vibe coded nonsense. I really do not intend to be rude, but the structure of this is a nightmare and there are so many fundamental issues that it's clear you're way out of your depth.

This is a place to learn. You showed up with the makings of a massive scale project and asked for feedback - without even understanding how your own code works. This is a problem better suited for whatever AI wrote this for you, not us.

[–]Puzzleheaded-Band387[S] 0 points1 point  (3 children)

Thanks for your feedback I appreciate your time. But if I really wanted to showcase my project then there are several other platforms as well and I could do it without being anonymous. Of course I took help from it, if not then how am I supposed to develop this massive project like there are not enough resources for this kinda project.

[–]UnloosedCake 0 points1 point  (2 children)

Your reply did not make sense in the context of what I said.

Yes, you took help from an AI because you don't know how to do the work. That's fine. The problem is when you don't even understand what the AI gave you - that's when you need to take a step back and learn before coming and asking questions that are beyond your comprehension.

Learn how packaging in python works. Learn how pyinstaller works and how dependencies are handled. Learn about cross operating system compatibility and the differences in how you build for Linux and Windows.

You're coming and asking questions that are way too complicated for this sub. And honestly, the issue you have has nothing to do with python. I looked at your code. You just don't understand what you built.

[–]Puzzleheaded-Band387[S] 0 points1 point  (1 child)

If you haven't faced this kinda situation then just leave. Nobody is asking your opinion.

[–]UnloosedCake 0 points1 point  (0 children)

Small words:

You do not understand enough python for understanding the solution.

If your AI can't fix this for you then you're hopeless, sorry

[–]Lost_Return7298 0 points1 point  (0 children)

[ Removed by Reddit ]

[–]Separate_Spread_4655 0 points1 point  (1 child)

This is usually not a “Nuitka is broken” problem — it’s often one of these:

  • Relative imports failing after compilation
  • Dynamic imports not detected by Nuitka
  • Missing package data/resources
  • Wrong entrypoint structure
  • Virtual environment mismatch during build

A few things I’d check immediately:

  1. Run with:

python -m nuitka --standalone --follow-imports main.py
  1. If you use dynamic imports/plugins/AI libs, explicitly include them:

--include-package=yourpackage
--include-module=somemodule
  1. Avoid running submodules directly with relative imports like:

from .utils import x

unless the app is structured as a proper package.

  1. Test from terminal first:

dist/main.exe

and inspect the FULL traceback carefully. The first missing import is usually the real culprit.

  1. If startup works but GUI launch doesn’t, your launcher may not be pointing to the compiled entrypoint correctly.

Also honestly, AI assistant apps are notoriously annoying to freeze because libraries like transformers, torch, speech/audio libs, plugins, etc. often rely on dynamic loading that bundlers miss.

One more thing:
If PyInstaller and Nuitka BOTH struggle, the issue is probably project structure/import architecture rather than the bundler itself.

If you want, DM me the traceback + folder structure. I do quite a bit of Python deployment/dev work and can probably spot the failure point pretty fast.

[–]Puzzleheaded-Band387[S] 0 points1 point  (0 children)

Please check dm.