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

issue when running python slicer-gui.py #12

Open
Parisa-Bagherzadeh opened this issue Jul 16, 2023 · 3 comments
Open

issue when running python slicer-gui.py #12

Parisa-Bagherzadeh opened this issue Jul 16, 2023 · 3 comments

Comments

@Parisa-Bagherzadeh
Copy link

i got this after running python slicer-gui.py :
qt.qpa.xcb: could not connect to display
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: minimalegl, offscreen, xcb, wayland, eglfs, wayland-egl, minimal, vnc, linuxfb, vkkhrdisplay.

Aborted (core dumped)

How to fix this?

@flutydeer
Copy link
Owner

Which system are you using?

@Parisa-Bagherzadeh
Copy link
Author

Which system are you using?

Linux riga100-s1 5.4.0-153-generic #170-Ubuntu SMP Fri Jun 16 13:43:31 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

@flutydeer
Copy link
Owner

Since it works on my computer, I can't reproduce this issue. You may have to find solutions yourself.

Try this command:

sudo apt-get install libxcb-xinerama0

or

sudo apt-get install -qq libglu1-mesa-dev libx11-xcb-dev '^libxcb*'

https://forum.qt.io/topic/93247/qt-qpa-plugin-could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was-found/99

image

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

2 participants