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

Qt5 "No working GUI backend found for matplotlib" #17

Open
magnusbbc opened this issue Jan 19, 2023 · 2 comments
Open

Qt5 "No working GUI backend found for matplotlib" #17

magnusbbc opened this issue Jan 19, 2023 · 2 comments

Comments

@magnusbbc
Copy link

I have tried to use PythonPlot with PyQt5, however it can not initialize and I receive the error:
No working GUI backend found for matplotlib

After some digging I determined the error to originate from fixqtpath() in pygui.jl. where somekind of exception occurs. I haven't found the excact issue, but by commenting the fixqtpath() in function qt_eventloop(QtCore::Py, sec::Real=50e-3) and configuring my QT_PLUGIN_PATH environment path to the correct QT folder, I got the backend to load as intended.

@zeitouni
Copy link

zeitouni commented Oct 6, 2023

@magnusbbc I'm having the same issue and it's a pain. Everything works fine if I use matplotlib directly from PythonCall but with PythonPlot it doesn't find the GUI.

I am struggling to find the folder for QT though to do this fix. Any advice on how I can do that?

@ufechner7
Copy link

Same problem here... Ubuntu 22.04.

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

3 participants