title: qt.qpa.plugin: Could not find the Qt platform plugin "wayland"
body: <p>I'm trying to run through some image recognition tutorials, 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.</p>
  <pre><code>import cv2
  img=cv2.imread(&quot;path&quot;,1)
  #print(type(img))
  #print(img)
  #print(img.shape)
  #print(img.ndim)
  cv2.imshow(&quot;Moon&quot;,img)
  cv2.waitKey(2000)
  </code></pre>
  <p>More importantly, this is the error I get:</p>
  <pre><code>qt.qpa.plugin: Could not find the Qt platform plugin &quot;wayland&quot; in &quot;/home/peepo/.local/lib/python3.9/site-packages/cv2/qt/plugins&quot;
  </code></pre>
  <p>I went to the folder in the path and sure enough, Wayland isn't there. I've been searching around for a while now and installed several different things from solutions to people experiencing similar things I've found on the web. Nothing has worked.</p>
  <p>Currently I'm at the point where I'm looking to see if there's some manual download somewhere that I can just drag and drop into the folder. I've read that there are some issues with the new version of Ubuntu and qt4, so I'm not sure if this is more of an Ubuntu or Python problem. Any help would be appreciated.</p>