I am using a virtual environment with python 3.6 in Ubuntu Server, in a old processor (32 bits Intel).
First, I installed matplotlib with the pip utility.
Then, I installed PyQt5 (5.15.2) from source.
Now, I can run Qt apps written in python normally.
However when I try to do in ipython (for python 3.6):
%matplotlib qt5
I obtain the following error:
ImportError:
Could not load requested Qt binding. Please ensure that
PyQt4 >= 4.7, PyQt5, PySide >= 1.0.3 or PySide2 is available,
and only one is imported per session.
Currently-imported Qt library: 'pyqt5'
PyQt4 available (requires QtCore, QtGui, QtSvg): False
PyQt5 available (requires QtCore, QtGui, QtSvg, QtWidgets): False
PySide >= 1.0.3 installed: False
PySide2 installed: False
Tried to load: ['pyqt5']
The following libs are installed with my PyQt5:
PACKAGE CONTENTS
Qt
QtCore
QtDBus
QtGui
QtNetwork
QtOpenGL
QtPrintSupport
QtSql
QtTest
QtWidgets
QtXml
_QOpenGLFunctions_2_0
_QOpenGLFunctions_2_1
_QOpenGLFunctions_4_1_Core
pylupdate
pylupdate_main
pyrcc
pyrcc_main
sip
uic (package)
How may I repair my matplotlib installation, if this is the issue?