[Stackless] Compiling stackless with PyQt4?
sgala at apache.org
Mon Mar 26 13:16:06 CEST 2007
El lun, 26-03-2007 a las 09:49 +0000, Richard Tew escribió:
> On 3/26/07, Caleb J. Howard <caleb at howlor.com> wrote:
> > > /usr/stackless_python/bin/python ProdConPyQt.py
> > ProdConPyQt.py:20: RuntimeWarning: Python C API version mismatch for module
> > PyQt4.QtGui: This Python has API version 1013, module PyQt4.QtGui has version
> It appears your PyQT is compiled against a later version of Python
> (which explains the missing unicode function from the API as well). I
> encourage you to either obtain PyQT binaries compiled against the same
> version of Python which your Stackless is, or compile PyQT yourself.
well, the Unicode stuff is mostly because there are two different ways
to configure python: --enable-unicode=ucs2 (two bytes unicode chars)
--enable-unicode=ucs4 (4 bytes unicode chars). The API they offer for
external extensions is different, so you need to ensure that both python
and the modules are built with the same assumptions on the internal
$python -c "import sys; print sys.maxunicode"
means --> ucs4
./python -c "import sys; print sys.maxunicode"
means --> ucs2
> Hope this helps,
> Stackless mailing list
> Stackless at stackless.com
Stackless mailing list
Stackless at stackless.com
More information about the Stackless