[PyKDE] import libsip problems

Bjorn Pettersen BPettersen at narex.com
Mon May 6 22:30:00 BST 2002


> From: Bjorn Pettersen 
> 
> I'm sure I'm doing something really stupid, but I can't 
> figure out what...
> 
> I built libsip_d.dll without the Qt extensions, removing the 
> -DNO_DEBUG option, and adding /Zi.
> 
> D:\siptest\sipCell>python_d
> Adding parser accelerators ...
> Done.
> Python 2.2.1 (#34, May  3 2002, 11:03:11) [MSC 32 bit 
> (Intel)] on win32 Type "help", "copyright", "credits" or 
> "license" for more information.
> >>> import sys
> [7981 refs]
> >>> sys.path.append('d:/sip-3.1/siplib')
> [7982 refs]
> >>> import libsip
> Fatal Python error: Interpreter not initialized (version mismatch?)
> 
> Any help appreciated.
> 
> -- bjorn

Arg! I hate it when I reply to myself... Turned out I had a
debug/release mismatch in libsip linking to python22.lib.

-- bjorn




More information about the PyQt mailing list