cellmodeller / CellModeller

GPU-accelerated multicellular modelling framework
http://cellmodeller.github.io/CellModeller/
Other
57 stars 48 forks source link

could not load Qt platform plugin when running setup.py #46

Closed Deepika-Parthasarathy closed 1 year ago

Deepika-Parthasarathy commented 1 year ago

I run into this error while running the setup file. I am using Ubuntu 22.04 LTS. I tried installing the required packages but that didn't work either. Please help.

:~$ python3 CellModeller/Scripts/CellModellerGUI.py 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.

Aborted

image
timrudge commented 1 year ago

Hi - I have never seen this issue before. I dont think we have run on Ubuntu 22. There is some info here that maybe could help:

https://stackoverflow.com/questions/59809703/could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was-found

best Tim

On Wed, 9 Aug 2023 at 21:21, Deepika-Parthasarathy @.***> wrote:

[image: image_720] https://user-images.githubusercontent.com/141874128/259537405-ced9ad33-33f3-4ea2-89cc-c224af036b66.png I run into this error while running the setup file. I am using Ubuntu 22.04 LTS. I tried installing the required packages but that didn't work either. Please help.

— Reply to this email directly, view it on GitHub https://github.com/cellmodeller/CellModeller/issues/46, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWAWANC5OLHSFJYI3OMJT3XUPWKXANCNFSM6AAAAAA3KQNNOE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Deepika-Parthasarathy commented 1 year ago

https://github.com/cellmodeller/CellModeller/issues/23 I referred to this one. It had the same error. I did sudo apt-get install -y libqt5x11extras5 and it build the GUI. I had the environment set up to run setup.py.

It built the GUI. Thanks.