You are not logged in.

#1 2024-11-07 07:08:46

Ion301
Member
Registered: 2024-11-07
Posts: 3

anaconda-navigator does not launch due to qt problems

I am a new user to archlinux, recently I installed anaconda manually from official website, but the navigator won't launch and returned error message below:

***************************************************
(base) [user@host ~] $ anaconda-navigator
2024-11-07 14:44:49,485 - WARNING linux_scaling.get_scaling_factor_using_dbus:32
An exception occurred during fetching list of system display settings.

qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
Could not initialize GLX
Aborted(core dumped)

***************************************************

I have installed qt5-base and qt6-base through pacman.
Having tried manually set temporary environmental varible QT_QPA_PLATFORM=wayland, anaconda-navigator still returned error message below:

***************************************************
(base) [user@host ~] $ anaconda-navigator
2024-11-07 14:53:30,159 - WARNING linux_scaling.get_scaling_factor_using_dbus:32
An exception occurred during fetching list of system display settings.

qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
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, minimal, minimalegl, offscreen, vnc, webgl, xcb.

Aborted(core dumped)
***************************************************

It seems that navigator itself does not implement wayland as an available graphical session?

Offline

#2 2024-11-07 07:32:04

Ion301
Member
Registered: 2024-11-07
Posts: 3

Re: anaconda-navigator does not launch due to qt problems

Plus: I am using KDE Plasma 6 as desktop.

Offline

#3 2024-11-07 09:53:49

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: anaconda-navigator does not launch due to qt problems

(base) [user@host ~] $ anaconda-navigator 

The problem is likely that conda base replaces system libraries with their own version which breaks things.

disable automatic start of base as described in https://wiki.archlinux.org/title/Conda#Usage then try again.

Only enable base for apps that won't work correctly without it.


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

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2024-11-07 11:29:34

Ion301
Member
Registered: 2024-11-07
Posts: 3

Re: anaconda-navigator does not launch due to qt problems

Thanks for your help. I managed to directly launch navigator outside of base environment, using ./$anaconda_dir/bin/anaconda-navigator .

Lone_Wolf wrote:
(base) [user@host ~] $ anaconda-navigator 

The problem is likely that conda base replaces system libraries with their own version which breaks things.

disable automatic start of base as described in https://wiki.archlinux.org/title/Conda#Usage then try again.

Only enable base for apps that won't work correctly without it.

Offline

Board footer

Powered by FluxBB