[PyQt] RuntimeError: the sip module implements API v6.0 but the PyKDE4.kdeui module requires API v4.0

Chris Giles chris.g.27 at gmail.com
Sat Aug 29 07:46:20 BST 2009


Using the latest development snapshots, I get the following error, when
trying to build one of my GUI files.  Prior to the upgrade, this step was
working and I haven't changed the GUI file since.  How can I overcome this
recently-introduced problem?


`--> /usr/bin/pyuic4 -d ../Source/Main.ui -o ../Source/Ui_Main.py
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/port_v2/invoke.py", line
12, in invoke
    exit_status =
driver.invoke()
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/driver.py", line 37, in
invoke

self._generate()

  File "/usr/lib/python2.6/site-packages/PyQt4/uic/driver.py", line 63, in
_generate

self._opts.pyqt3_wrapper)

  File "/usr/lib/python2.6/site-packages/PyQt4/uic/__init__.py", line 65, in
compileUi
    winfo = compiler.UICompiler().compileUi(uifile, pyfile)
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/Compiler/compiler.py",
line 14, in __init__
    CompilerCreatorPolicy())
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 87, in
__init__
    self.factory = QObjectCreator(creatorPolicy)
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/objcreator.py", line 49,
in __init__
    self._cwFilters.append(plugin_locals["getFilter"]())
  File "<string>", line 22, in getFilter
RuntimeError: the sip module implements API v6.0 but the PyKDE4.kdeui module
requires API v4.0
zsh: segmentation fault  /usr/bin/pyuic4 -d ../Source/Main.ui -o
../Source/Ui_Main.py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090829/39ec1d96/attachment.html


More information about the PyQt mailing list