I’m trying to create a Qt application embedding Matplotlib, but the following error is occuring:
ImportError: Failed to import any of the following Qt binding modules: PyQt6, PySide6, PyQt5, PySide2
I checked at Matplotlib documentation and it says I have to set the enviornment variable QT_API, but I’m not sure how to do that. I’m using Windows and I already got to the Enviornment Variable window, but what path should I set there?
Or is there another way to bind de PyQt5 to matplotlib? I’m always confused when it comes to enviorment variables.