NICALab/SUPPORT

Could not load the Qt platform plugin "xcb" in "" even though it was found.

Closed this issue · 1 comments

Ran through the installation and ran into the following error when trying to run src.GUI.test_GUI

(SUPPORT) doug@doug-ubuntu:~/python_projects/support_dir/SUPPORT$ python -m src.GUI.test_GUI
/home/doug/python_projects/support_dir/SUPPORT/src/GUI/test_GUI.py:29: DeprecationWarning: Support for PyQt5 is deprecated and will be removed in Pillow 10 (2023-07-01). Use PyQt6 or PySide6 instead.
from PIL.ImageQt import ImageQt
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.

Hardware/Package info

Distribution: Ubuntu 22.04.1 LTS (64-bit)
GPU: RTX 3090 (dedicated for ML only), RTX 3050 (display)
Nvidia-SMI Driver Version 525.60.11, CUDA Version 12.0
conda package list attached as .txt file
packages.txt

Solved using:

sudo apt-get install libxcb-xinerama0

Error gone, app deploys.