Qt doesn't like having multiple versions installed at the same time: 'RuntimeError: the PyQt4.QtCore and PyQt5.QtCore modules both wrap the QObject class', after installing PyQt5 with Anaconda. I got ...
Also you can also use PySide2 instead of PyQt5 with just litte changes.