[Python-modules-team] Bug#586525: RuntimeError: the sip module implements API v6.0 but the PyQt4.QtCore module requires API v7.1
Jean-Baptiste Gury
jeanbaptiste.gury at gmail.com
Sun Jun 20 11:03:19 UTC 2010
Package: python-sip
Version: 4.10.2-1
Severity: important
Hello,
When i import PyQt4.QtCore in python, i obtain this error.
Here is the extract from "python -v" interactive shell :
>>> from PyQt4 import QtCore
import PyQt4 # directory /usr/lib/pymodules/python2.5/PyQt4
# /usr/lib/pymodules/python2.5/PyQt4/__init__.pyc matches
/usr/lib/pymodules/python2.5/PyQt4/__init__.py
import PyQt4 # precompiled from /usr/lib/pymodules/python2.5/PyQt4/__init__.pyc
dlopen("/usr/lib/pymodules/python2.5/PyQt4/QtCore.so", 2);
dlopen("/usr/lib/python2.5/site-packages/sip.so", 2);
import sip # dynamically loaded from /usr/lib/python2.5/site-packages/sip.so
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: the sip module implements API v6.0 but the PyQt4.QtCore module
requires API v7.1
I add information on python-qt4 too :
$ dpkg -s python-qt4
Package: python-qt4
Status: install ok installed
Priority: optional
Section: python
Installed-Size: 19232
Maintainer: Debian Python Modules Team <python-modules-
team at lists.alioth.debian.org>
Architecture: i386
Version: 4.7.3-1
Replaces: python-qt4-common, python-qt4-dev (<< 4.4.4-3~)
Provides: python2.5-qt4, python2.6-qt4
Depends: libc6 (>= 2.3.6-6~), libgcc1 (>= 1:4.1.1), libqt4-assistant (>=
4:4.5.3), libqt4-designer (>= 4:4.5.3), libqt4-help (>= 4:4.6.1),
libqt4-network (>= 4:4.6.1), libqt4-script (>= 4:4.6.1), libqt4-scripttools (>=
4:4.6.1), libqt4-svg (>= 4:4.5.3), libqt4-test (>= 4:4.5.3), libqt4-webkit (>=
4:4.6.1), libqt4-xml (>= 4:4.6.1), libqt4-xmlpatterns (>= 4:4.6.1), libqtcore4
(>= 4:4.6.1), libqtgui4 (>= 4:4.6.1), libstdc++6 (>= 4.1.1), python2.5 (>=
2.5), python (<< 2.7), python (>= 2.5), python-support (>= 0.90.0), sip-api-7.1
Suggests: python-qt4-dbg
Conflicts: python-qt4-common
python-sip package sould provide sip-api-7.1. But error seems to say an other
things.
Thanks a lot.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (900, 'testing'), (600, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-sip depends on:
ii libc6 2.11.1-3 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.4-5 GCC support library
ii libstdc++6 4.4.4-5 The GNU Standard C++ Library v3
ii python 2.5.4-9 An interactive high-level object-o
ii python-support 1.0.8 automated rebuilding support for P
python-sip recommends no packages.
python-sip suggests no packages.
-- no debconf information
More information about the Python-modules-team
mailing list