[PyKDE] Building PYQT on OS X

Russel Howe russel at appliedminds.net
Wed Apr 28 20:29:01 BST 2004


Hello,
    I am using OS X 10.3.3 and am having trouble getting PyQT working.  I 
am using fink python and fink qt 3.2.3

Python 2.3.3 (#1, Apr 21 2004, 13:28:02)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

sip-4.0rc3, and PyQt-mac-gpl-3.11.  My gcc reports the same version string 
as above.

everything builds fine (I have tried both shared and -k), but starting 
python and doing import sip causes a Bus Error.

import qt results in
 Python Fatal Error, interpreter not initialized (version mismatch?)
 Abort trap
which occurs in Py_InitModule4 according to a gdb backtrace

I have seen a few others on this list who had problems with OS X, but they 
all got things working by using sip-4.0.  Any ideas?

Russel Howe




More information about the PyQt mailing list