-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi,
I've installed TARDIS and the corresponding Napari plugin following the official instructions. However, upon trying to open Napari I was getting the following error:
WARNING: Could not load the Qt platform plugin "xcb" in "" even though it was found.
11:35:04 : WARNING : MainThread : Could not load the Qt platform plugin "xcb" in "" even though it was found.
WARNING: 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.
11:35:04 : WARNING : MainThread : 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
I've seen this before so I decided to follow the official napari instructions and install napari and pyqt from conda-forge
.
Somehow that wasn't enough by itself, but eventually the following did the trick:
mamba install -c conda-forge pyqt --force-reinstall
mamba install -c conda-forge qtpy --force-reinstall
mamba install -c conda-forge superqt --force-reinstall
In general I'd always recommend installing napari and pyqt from conda-forge, not PyPI, but don't know if this would break something else in this project.
Hope this helps others with similar issues.
Metadata
Metadata
Assignees
Labels
No labels