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

Installing Pandasgui breaks opencv/matplotlib compatibility #213

Open
ckyleda opened this issue Sep 29, 2022 · 0 comments
Open

Installing Pandasgui breaks opencv/matplotlib compatibility #213

ckyleda opened this issue Sep 29, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@ckyleda
Copy link

ckyleda commented Sep 29, 2022

Ubuntu 20.04.5 LTS

To reproduce:

Install matplotlib, and opencv, then install pandasgui. Note that you can no longer plot anything with matplotlib due to the following error:

QObject::moveToThread: Current thread (0x2c2de30) is not the object's thread (0x36f3050).
Cannot move to target thread (0x2c2de30)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/.../venv/lib/python3.8/site-packages/cv2/qt/plugins" 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: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

I suspect this is because pandasgui installs PyQT5 as a dependency, breaking opencv/matplotlibs dependence on QT installed on the system. Pandasgui should handle this gracefully and make use of existing backends rather than force-installing PyQT5.

@ckyleda ckyleda added the bug Something isn't working label Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant