Open mcmichaelau opened 2 years ago
Do you have PyInstaller installed? If so, could you check if using py2app without having that package installed helps?
It should not be necessary to use --include
with a PyQt6 application, py2app contains some code to include the correct bits of PyQt6.
@ronaldoussoren Thank you so much, sir. It really helped me. I appreciate it.
@ronaldoussoren - Many thanks - that was the stuff.
I am trying to compile an app that works fine in alias mode. However, when running the "setup.py py2app" I get the error: "ImportError: No module named PyInstaller.hooks.hook-PyQt6.QtXml"
From what I understand, I should use '--include=PyQt6.QtXml' to resolve this issue. This seems to solve the immediate issue but upon attempting to compile again, there is another "No module named" error for another module. I went through and added about 15 of the modules to the '--include' option and yet the errors keep coming.
Is there a way to know what modules I need beforehand and install them in an easier way?
Thanks for the help