Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4439

Disabled Wayland to share screen but now Python matplotlib fails

$
0
0

I'm using Ubuntu 22.04 and had problems sharing my screen. I had to disable Wayland at the Ubuntu login screen and that fixed the problem.

However, because of this I now cannot generate matplotlib graphs in Python. The error is:

Failed to create wl_display (No such file or directory)qt.qpa.plugin: Could not load the Qt platform plugin "wayland" 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, xcb.

I really dont want to mess around customizing my OS to be different.

Is there a simple way to be able to share my screen AND use matplotlib?


Viewing all articles
Browse latest Browse all 4439

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>