You are not logged in.

#1 2023-03-25 15:12:02

mtubarch
Member
From: Italy
Registered: 2023-02-16
Posts: 46

[SOLVED] Qt platform plugin "wayland"

I use Spyder in Anaconda. Running Spyder I always got warning "Could not find the Qt platform plugin "wayland" in....". Despite this, Spyder has activated so far. Since a few days the error message is the following:

 
Could not find the Qt platform plugin "wayland" in ""
libGL error: MESA-LOADER: failed to open iris: /home/xxx/anaconda3/lib/python3.9/site-packages/zmq/backend/cython/../../../../../ ./libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/dri/iris_dri.so) (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /home/xxx/anaconda3/lib/python3.9/site-packages/zmq/backend/cython/../../../../../ ./libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
fish: Job 1, 'spyder' terminated by signal SIGSEGV (Address boundary error) 

I've read several Wiki articles and I'm sure the solution is indicated but I couldn't find it.
Any help will be welcome. Thanks in advance to everyone.

Last edited by mtubarch (2023-03-25 18:46:28)

Offline

#2 2023-03-25 16:01:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,293

Re: [SOLVED] Qt platform plugin "wayland"

You using an outdated python version which uses an outdated C library which uses an outdated pyt5 which uses an outdated static qt5 build...

Can/have you tried updating your conda environment? Do you actually knowingly and actively need anaconda/conda instead of spyder from the repos?

Offline

#3 2023-03-25 16:21:03

mtubarch
Member
From: Italy
Registered: 2023-02-16
Posts: 46

Re: [SOLVED] Qt platform plugin "wayland"

V1del wrote:

You using an outdated python version which uses an outdated C library which uses an outdated pyt5 which uses an outdated static qt5 build...

Can/have you tried updating your conda environment? Do you actually knowingly and actively need anaconda/conda instead of spyder from the repos?

I update the conda environment every time I use it. I am well aware that Anaconda is not very up to date, but unfortunately I currently have to use it.

However, if the problem is not my Arch setup, I'll find a workaround.

Thank you very much for the tips.

Last edited by mtubarch (2023-03-25 16:40:50)

Offline

#4 2023-03-25 18:29:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,293

Re: [SOLVED] Qt platform plugin "wayland"

You could try moving away the libstdc++.so.6 mentioned there to force it to use the one from the system.

Offline

#5 2023-03-26 08:55:10

mtubarch
Member
From: Italy
Registered: 2023-02-16
Posts: 46

Re: [SOLVED] Qt platform plugin "wayland"

V1del wrote:

You could try moving away the libstdc++.so.6 mentioned there to force it to use the one from the system.

I have thought about your suggestion and will try to get rid of anaconda and use spyder from Arch's repos. Thank you again and kind regards.

Offline

Board footer

Powered by FluxBB