[PyQt] Re: PyQt 4.4.2 / SIP 4.7.6 in custom directories : API version mismatch (3.6 instead of 3.7)

jbd jbdenis at dental-on-line.fr
Fri May 30 10:18:13 BST 2008


Phil Thompson wrote:

> No - you can only have one installed, unless you do some juggling with 
> PYTHONPATH.
> 
> Phil

Ok, i have the debian sip version installed but i use PYTHONPATH to be
able to use PyQt4 (i remove the debian python-qt4 to be sure. A simple
python -c "import PyQt4" works fine).

Before launching my python interactive shell, i run :

$ export
PYTHONPATH=$STATIC_LIBS_DIRECTORY/lib/python2.4/site-packages/:$PYTHONPATH

$ ls $STATIC_LIBS_DIRECTORY/lib/python2.4/site-packages/
libsip.a  PyQt4/  sipconfig.py  sipconfig.pyc  sipdistutils.py

I'm doing something wrong, or i forgot to do something.

Thank you for taking time responding my not so related pyqt questions.

Jbd



More information about the PyQt mailing list