Using Pyinstaller with a PyQt6 application on ubuntu 22.04

Is there a comparability problem with PyQt6 and Pyinstaller ?

I’m attempting to package up my application with Pyinstaller and the exe get’s created but when it’s run it fails stating it doesn’t know where to find PyQt6. I thought it was my virtual environment wasn’t activated but it was and I’m still getting the error.

ModuleNotFoundError: No module named ‘PyQt6’

Solve my packaging problem by redoing the virtual environment.