Application windows not showing up because Qt platform plugin 'xcb' cannot be loaded #983
codingbutstillalive
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sanity check: Apps like Gedit or Xcalc work as expected. Their application windows show up properly.
Using matplotlib.pyplot results in the following error:
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted
As far as I know, this should work out-of-the-box. I think this must be a bug. Possible solutions via Google searches do not seem to match the issue and did not work.
Additional context:
I am using a fresh install of Ubuntu 22.04 LTS in the following WSLg setting:
WSL-Version: 1.0.3.0 Kernelversion: 5.15.79.1 WSLg-Version: 1.0.47 MSRDC-Version: 1.2.3575 Direct3D-Version: 1.606.4 DXCore-Version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows Version: 10.0.19045.2486
Beta Was this translation helpful? Give feedback.
All reactions