View Single Post
Posts: 1 | Thanked: 0 times | Joined on Mar 2011
#9
I'm having a very similar issue. I'm trying to build and run PyQT code in QT Creator for the first time. PyQT code currently runs without a problem through Eclipse. However, in QT Creator, I am getting the following error:

Code:
pyuic4 mainWindow.ui -o -mainWindow.py
Traceback (most recent call last):
  File "/usr/bin/pyuic4", line 3, in <module>
    import PyQt4.uic.pyuic
  File "/usr/lib/pymodules/python2.6/PyQt4/uic/pyuic.py", line 4, in <module>
    from PyQt4 import QtCore
RuntimeError: the sip module implements API v8.0 to v8.1 but the PyQt4.QtCore module requires API v7.1
It looks like PyQT4.QtCore doesn't want to work with the newest version of SIP. I tried the above recommendations (apt-get upgrade and making sure Python is up-to-date) to no avail.

Any ideas?

Thanks in advance for letting me drop in here. I am new to PyQT and am working through a tutorial to get started, just FYI.

http://wiki.python.org/moin/JonathanGardnerPyQtTutorial

Last edited by skreg; 2011-03-18 at 20:55. Reason: Additional info