from matplotlib.pyplot import figure
from PyQt5 import QtCore
ImportError: DLL load failed: the specified procedure could not be found
Workaround by updating PyQt5 with
pip instead of
This is since
conda had Qt 5.6 (
conda install pyqt qt), which didn't work.
pip had Qt 5.9, which worked for me.
- Check that (for Windows) that
2. If so, then try updating PyQt and Qt library
conda install pyqt qt
- If the same error still occurs, try going to the latest PyQt5 from Pip.
python -m pip install pyqt5