Issue in creating exe : Module Not Found in PyInstaller-Built NiceGUI #4141
07rohanraj
started this conversation in
General
Replies: 1 comment
-
Have you tried the pyinstaller docs? They have several pages on common problems and troubleshooting. I also see a number of forum posts on "no module found" errors. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I’m encountering a ModuleNotFoundError for the frontend.home module when running my PyInstaller-built NiceGUI application. Here's a detailed overview of my setup and the issue:
Project Structure:
Command used for pyInstaller:
Error:
After building the .exe file, when I run it, I get the following error:
Backend code has these imports:
What I've Tried:
Questions:
- Is there a specific way NiceGUI handles folder structures or imports that I might be missing?
- How do I ensure that all modules in frontend are included correctly in the PyInstaller bundle?
- Could this be related to NiceGUI's handling of paths or PyInstaller's packaging?
Beta Was this translation helpful? Give feedback.
All reactions