New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyQt6 MVC to .exe #8066
Comments
If you want help with specific problem, you will need to provide an error message and/or code example - we have no way of guessing what your code looks like. Also, if you are new to PyInstaller, I would recommend you start with creating executable from simple PyQt6 hello world application to familiarize yourself with the tool, and then gradually scale up the complexity. Trying to build a complex project on the first try is likely going to be daunting, especially if you have no understanding of how data files are (not) collected, why some modules need to be specified as hidden imports, etc. |
To better understand my question : This is my app.py
Now controller.py would be in the same folder as app.py
The same case for the main_window.py. I have also some static files (images etc.) which are stored in a different folder. |
If Is this the case here - do you have an |
Then that's your problem. You will either need to move the entry-point script outside of the package, or explicitly add the package directory to the search path using the FWIW, your import pattern ( |
I did that , but now when I try to create .exe file I'm getting the following error. PyInstaller.isolated._parent.SubprocessDiedError: Child process died calling import_library() with args=('pyqtgraph.canvas',) and kwargs={}. Its exit code was 3221225725. |
I think we've seen that before - #7991 (comment). |
Thank you, it worked. Now it seem's to be another problem. I have seen this , but not working for me. |
That means that platform plugins were either not collected, are corrupted, or are missing a dependency. Can you attach the full build log (add |
|
You have |
Thank you again, it worked. Also , I had some problems with |
You should not be using relative paths, as that assumes where the current working directory is (you would encounter the same problem if you ran your original unfrozen script from a different directory). See docs. |
Hello,
I'm trying to create an executable file for my project, but so far, it hasn't worked. My project is quite extensive, and I'm using an MVC folder structure.
Can anyone give a suggestion on how I can solve this problem?
The text was updated successfully, but these errors were encountered: