Skip to content

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

Description

@magnusbbc

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.

Activity

  1. zeitouni commented on Oct 6, 2023

    @zeitouni

    @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?

  2. ufechner7 commented on Oct 11, 2023

    @ufechner7

    Same problem here... Ubuntu 22.04.

  3. ufechner7 commented on Feb 1, 2026

    @ufechner7

    Since the PR has been merged, can someone close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions