I have similar problem, I'll use pyqtgraph. Everything is based on PyQt5, but when I run, script return the same error like above.
I try to uninstall PyQt4, but pyqtgraph is automatically removed :/ is it possible to install pyqtgraph without PyQt4? I have already PyQt5