[Python-modules-team] Bug#571203: Bug#571203: RuntimeError: the sip module implements API v6.0 but the PyQt4.QtCore module requires API v7.0

Torsten Marek torsten.marek at gmx.net
Wed Feb 24 11:01:43 UTC 2010


Am Mittwoch, den 24.02.2010, 11:22 +0100 schrieb Victor Stinner:
> Package: python-qt4
> Version: 4.7-2
> Severity: grave
> Justification: renders package unusable
> 
> 
> After a dist-upgrade, my PyQt application doesn't work anymore.
> I removed the packages sip4 and python-sip4 but it doesn't fix this
> issue. I tried to remove python-sip and then reinstall python-qt4 is
> still present.
> 
> I don't understand because the new python-sip packages provides "SIP API
> 7.0" whereas the error message starts with "the sip module implements
> API v6.0"!?

Hi,

does 


$ python
>>> from PyQt4 import QtCore

lead to the same error? Did you ever install sip manually? Do you get
the following output?

$ python -v
...
>>> from PyQt4 import QtCore
dlopen("/usr/lib/pymodules/python2.5/PyQt4/QtCore.so", 2);
dlopen("/usr/lib/pymodules/python2.5/sip.so", 2);
import sip # dynamically loaded from /usr/lib/pymodules/python2.5/sip.so
import PyQt4.QtCore # dynamically loaded from /usr/lib/pymodules/python2.5/PyQt4/QtCore.so

best,


Torsten
-- 
.: Torsten Marek
.: http://shlomme.diotavelli.net
.: torsten at diotavelli.net -- GnuPG: 1024D/A244C858

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20100224/cb0d8c90/attachment.pgp>


More information about the Python-modules-team mailing list