qt.qpa.plugin: Could not find the Qt platform plugin "wayland"
I'm trying to run some code that uses Qt GUI, but I keep running into this error that's preventing me from proceeding. I'm running Ubuntu 21.10, and Python 3.9.7. My code is as such. This is the error I get: qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "/home/peepo/.local/lib/python3.9/site-packages/cv2/qt/plugins" I went to the folder i