I'm writting a python (3.9) application and want to distribute the executable using pyinstaller. I'm running pyinstaller -w -F ... inside a pipenv environment with opencv-contrib-python==4.5.4.60, opencv-python==4.5.4.60 and numpy==1.21.4.
The resulting executable keeps giving me this error:
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "/tmp/_MEIuynHyq/cv2/qt/plugins"
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Aborted (core dumped)
Many posts suggest to change downgrade the libraries. I tried this and many other things with no success. Tips, advice would be greatly appreciated.
Cheers