[PyKDE] RE: SuSE problem
Jim Bublitz
jbublitz at nwinternet.com
Wed Jan 9 04:01:36 GMT 2002
On 08-Jan-02 Doug Bell <doug101 at xecu.net> wrote:
> Below is a forwarded message from a person who wants to use one
> of my
> programs but is having problems with PyQt. Since I don't know
> much
> about SuSE packages, I'm hoping someone here can help.
> Thanks,
> Doug.
>
> ----- Forwarded message -----
>
> Hi Doug,
>
> I'd like to use treeline and I spent 2 hours searching for the
> right libs.
> I have no knowledge of python.
>
> Here's what I get calling your program:
>
> betti at k7:/home/betti/download/treeline > treeline.py
> Traceback (most recent call last):
> File "./treeline.py", line 17, in ?
> from optiondlg import *
> File "./optiondlg.py", line 14, in ?
> from tmpcontrol import *
> File "./tmpcontrol.py", line 14, in ?
> from qt import *
> File "/usr/lib/python2.1/site-packages/qt.py", line 44, in ?
> import libqtc
> ImportError: /usr//lib/libsip.so.6: undefined symbol:
> PyType_IsSubtype
>
>
> Here is what I have installed:
>
> betti at k7:/home/betti/download/treeline > rpm -qa |grep py
> yast2-config-bootfloppy-2.4.3-6
> yast2-trans-bootfloppy-2.2.12-1
> python-doc-2.1.1-45
> python-imaging-1.1.2-25
> python-tk-2.1.1-45
> python-2.1.1-45
> python-curses-2.1.1-45
> python-demo-2.1.1-45
> python-devel-2.1.1-45
> python-gtk-1.4.1-83
> python-xml-2.1.1-45
According to this link:
http://python.sourceforge.net/devel-docs/api/typeObjects.html
PyType_IsSubtype is new in Python 2.2, so it appears
something compiled against Python is out of sync.
Py_IsSubtype is not available in SuSE7.3 which still
uses Python 2.1, as her rpm -q indicates. grepping
around and using nm, I couldn't find any reference
to PyType_IsSubtype in my 7.3 install, or anywhere
in sip/PyQt. I might have missed something, but it
appears to be a Python version related problem.
Jim
More information about the PyQt
mailing list