[PyQt] api problem with sip 4.7.9, PyQt 4.4.4 and Python 2.5.2 on Mac OS X 10.5.6

Romuald Riem rriem at free.fr
Mon Feb 16 12:53:48 GMT 2009


Hello,

I've just installed the last stable version of sip (4.7.9) and PyQt  
(4.4.4) on Mac OS 10.5.6. with the default options.

When I try to run a program I've this error:

Traceback (most recent call last):
   File "debitSE-test.py", line 8, in <module>
     from PyQt4 import QtCore, QtGui
RuntimeError: the sip module supports API v3.0 to v3.7 but the  
PyQt4.QtCore module requires API v3.8

I've noticed the change in the API, but when I try to use sip-4.8- 
snapshot-20090214, I've this error:

cc -c -pipe -fPIC -Os -w -DNDEBUG -I. -I/Library/Frameworks/ 
Python.framework/Versions/2.5/include/python2.5 -o siplib.o siplib.c
siplib.c: In function ‘addToParent’:
siplib.c:3496: error: ‘struct _sipWrapper’ has no member named  
‘ob_refcnt’
siplib.c: In function ‘removeFromParent’:
siplib.c:3524: error: ‘struct _sipWrapper’ has no member named  
‘ob_refcnt’
make[1]: *** [siplib.o] Error 1

What can I do to fix this problems ?

Thanks in advance

R. Riem


More information about the PyQt mailing list