I checked the PyQt5 documentation and the import sip will fail if no PyQt5 imports are performed before it.
https://www.riverbankcomputing.com/static/Docs/PyQt5/incompatibilities.html#pyqt-v5-11
Have adjusted imports accordingly. Just running tests to see if removing the setapi() call is OK (I note that setapi() has been deprecated).
I checked the PyQt5 documentation and the import sip will fail if no PyQt5 imports are performed before it.
https:/ /www.riverbankc omputing. com/static/ Docs/PyQt5/ incompatibiliti es.html# pyqt-v5- 11
Have adjusted imports accordingly. Just running tests to see if removing the setapi() call is OK (I note that setapi() has been deprecated).