I'm having issues import matplotlib.pyplot. I recently updated to Python 3.5.2. The error it gives me is as such:
ImportError: Matplotlib qt-based backends require an external PyQt4, PyQt5, or PySide package to be installed, but it was not found.
So I install PyQt5 using pip install pyqt5
, and I successfully install it. I run my code again, and then I get a different error:
ImportError: No module named 'PyQt4'
So I use pip (pip install pyqt4
) and attempt to install it. I get another error saying that PyQt4 can not be installed in the command prompt:
(User) C:\Users\Username>pip install pyqt4
Collecting pyqt4
Could not find a version that satisfies the requirement pyqt4 (from versions: ) No matching distribution found for pyqt4
So my question is, is what do I need to do to be able to import this package?