problème de GUI sous Python
Bonjour,
je récupère un message d'erreur du type : "ImportError: Cannot load backend 'Qt5Agg' which requires the 'qt5' interactive framework, as 'headless' is currently running" pour le code dans Gaussian_mvt_errors.pdf qui tourne bien en local sur le PC de ma doctorante (qui a écrit le code), mais ne tourne pas sur Jupyterhub/Lab.
D'après internet, c'est un problème de GUI: https://stackoverflow.com/questions/56129786/cannot-load-backend-qt5agg-which-requires-the-qt5-interactive-framework-as
This is happening because [...] Jupyter run on virtual environments which do not support GUI outputs as you cannot open new windows through a browser. Running it locally on a code editor(Spyder, or even IDLE) ensures that it can open a new window for the GUI to initialize. For coding the GUI it is best to do it locally on a full-fledged code editor.
Y aurait-il une solution ?
Merci d'avance. Très bonne journée. m-a