[PyKDE] PyQt install problem on Linux

Boudewijn Rempt bsarempt at rempt.xs4all.nl
Sat Oct 21 10:46:42 BST 2000

On Fri, 20 Oct 2000, Erlend V [iso-8859-1] Bøe wrote:

> (I'm not (yet) a memeber of the PyQt/kde list, mail me directly)
> Hi, I'm having a problem trying to install pyqt on my linux machine
> System: Linux-Mandrake 7, Python 2.0 (qt 1.44,  gcc --version = 2.95.2,
> latest sip, pyqt from the download page (not cvs)
> When I try to do a make install, (after a successful make), I get
> make  install-data-hook
> make[3]: Entering directory `/usr/local/PyQt-2.1/qt'
> (cd /tmp;
> PYTHONPATH=/usr/local/lib/python2.0/site-packages:/usr/local/lib/python2.0/site-packages
> python -c "import qt")
> Traceback (innermost last):
>   File "<string>", line 1, in ?
>   File "/usr/local/lib/python2.0/site-packages/qt.py", line 16, in ?
>     import libqtc
> ImportError: /usr/local/lib/libsip.so.3: undefined symbol: PyObject_Init

I've had exactly the same problem, but with the latest release (2.1),
compiling went without a problem - this is on a SuSE 6.4 laptop with
just Python 2.0 - no trace of Python 1.5.2. On my SuSE 6.3 server with
just Python 1.5.2, I have never had any problem compiling (but then,
Eric won't run with Python < 1.6 - and it's certainly one of the
cleanest Python debuggers I've seen. I'm glad I've been able to 
squeeze in a reference to it in my review of Python IDE's.)

More information about the PyQt mailing list