I do most of my work on Windows and have good python27 as I like. I recently installed virtualBox and got Ubuntu Machine on it, and I'm trying to install PyQt4 on it. I installed from apt-get and updated everything, however, when I try to import from PyQt4
from PyQt4 import QtCore
I get runtimeError:
RuntimeError: the sip module implements API v9.0 to v9.1 but the PyQt4.QtCore module requires API v8.1
I am sure that this is a problem that I would encounter with the knowledge base on Windows, but my Linux inexperience is getting better than me here, and I installed something incorrectly. The error leads me to think that I have a SIP version that is too fancy for my version of PyQt ... does anyone have experience with this?
Change If I try import again after receiving the error, this will work. Having done this, I got version information.
cfg.pyqt_version_str Out[9]: '4.9.3' cfg.sip_version_str Out[10]: '4.14.3-snapshot-55188026fe6d'
Not sure what a business snapshot is.
source share