You are not logged in.

#1 2019-07-22 21:59:33

lzacchi
Member
Registered: 2019-07-22
Posts: 4

Matplotlib raised QT-Wayland warning

Hi!

Whenever I try to use matplotlib (Python 3.7.x) I get the following warning:

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

I tried, as suggested, setting QT_QPA_PLATFORM to wayland myself but it didn't work. I have checked and apparently, everything I need is installed and updated. (pyqt, qt5-wayland and matplotlib).

Last edited by lzacchi (2019-07-22 22:00:28)

Offline

#2 2019-07-23 13:46:12

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Matplotlib raised QT-Wayland warning

https://wiki.archlinux.org/index.php/Wayland#Qt_5 lists several options to run qt5 stuff on wayland, please try them.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB