[PyKDE] Fatal Python error on OS X

Boudewijn Rempt boud at valdyas.org
Sun Dec 21 21:32:00 GMT 2003


I'm trying to get PyQt at least running on OS X so I can find out why my 
application doesn't work, but I'm getting the following error no matter how 
much I try to clean out my Python trees:

Fatal Python error: Interpreter not initialized (version mismatch?)

tainer:~ boud$ python
Python 2.3 (#1, Sep 13 2003, 00:49:11)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import qt
Fatal Python error: Interpreter not initialized (version mismatch?)
Abort trap

The gdb backtrace is:

Program received signal SIGABRT, Aborted.
0x90042aac in kill ()
(gdb) backtrace
#0  0x90042aac in kill ()
#1  0x9009ec5c in abort ()
#2  0x100aa1fc in Py_FatalError (msg=0xa00020a8 "") 
at /Users/jack/src/python-23/Python/pythonrun.c:1450
#3  0x100a5ff0 in Py_InitModule4 (name=0xbfffe974 "�, methods=0x2cc5260, 
doc=0x0, passthrough=0x0, module_api_version=1012) 
at /Users/jack/src/python-23/Python/modsupport.c:39
#4  0x02877f4c in initqt ()
#5  0x95fc1bc4 in _PyImport_LoadDynamicModule ()
#6  0x95fbf7a4 in PyImport_ExecCodeModuleEx ()
#7  0x95fc08c4 in PyImport_ImportModuleEx ()
#8  0x95fc02e0 in PyImport_ImportModuleEx ()
#9  0x95fbfe00 in PyImport_ImportModule ()
#10 0x95fbffd4 in PyImport_ImportModuleEx ()
#11 0x95f9cbf0 in _PyUnicodeUCS2_IsAlpha ()
#12 0x95f4a8d0 in PyObject_Call ()
#13 0x95fa91ec in PyEval_CallObjectWithKeywords ()
#14 0x95fa6984 in PyEval_EvalCode ()
#15 0x95fa7e30 in PyEval_EvalCodeEx ()
#16 0x95fa4734 in PyEval_EvalCode ()
#17 0x95fc85f0 in PyRun_FileExFlags ()
#18 0x95fc7354 in PyRun_InteractiveOneFlags ()
#19 0x95fc713c in PyRun_InteractiveLoopFlags ()
#20 0x95fc6fd4 in PyRun_AnyFileExFlags ()
#21 0x95fd1ec0 in Py_Main ()
#22 0x00003c78 in start ()
#23 0x00003aec in start ()

I'm using PyQt 3.9, sip 4.0rc1, Qt 3.2.1 on OS X 10.3.2 -- but I have to admit 
that I have tried to install PyQt before, when still running 10.2.8, but I 
cannot find any droppings from previous attempt by searching for \*qt\* or 
\*sip\*. 

Does anyone have any idea where to look next?
-- 
Boudewijn Rempt | http://www.valdyas.org/index2.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: signature
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20031221/7623679c/attachment.bin


More information about the PyQt mailing list