Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" #13

Open
zaccharieramzi opened this issue Aug 4, 2020 · 2 comments
Open

Comments

@zaccharieramzi
Copy link

zaccharieramzi commented Aug 4, 2020

Hi,

I was trying to use the ismrmrdviewer, and after installation I got the following error message when launching the viewer (python3 ismrmrdviewer):

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" 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, webgl, xcb.

[1]    23876 abort      python3 ismrmrdviewer

@dchansen
Copy link
Collaborator

dchansen commented Feb 9, 2021

This is a problem with your PySide2 installation. Unfortunately it is not uncommon to have multiple (conflicting) Qt installations on your path, which can cause these types of issues. Try installing in a python virtual environment.

@josecyc
Copy link

josecyc commented Jul 5, 2021

I also ran into this problem and found a solution on this thread.
I had to reinstall libxcb-xinerama0 with:
sudo apt-get install --reinstall libxcb-xinerama0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants