DXM123 / camera_calibration

Camera Calibration UI
1 stars 1 forks source link

PyQT5 missing dependency libxcb-xinerama0 #6

Closed DXM123 closed 6 months ago

DXM123 commented 6 months ago

Description: The goal of this issue is to make sure a the installation is successful on a new Ubuntu 22.04 installation.

Acceptance Criteria:

Error

Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/platforms" ...
Cannot load library /home/dxm/.local/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)
QLibraryPrivate::loadPlugin failed on "/home/dxm/.local/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so" : "Cannot load library /home/dxm/.local/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)"
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 (core dumped)

Note Set export QT_DEBUG_PLUGINS=1 before executing to see debug info

DXM123 commented 6 months ago

Added libxcb-xinerama0 to the requirements.txt