[PyKDE] PyKDE Installation Problems

Christopher Lloyd c.lloyd at student.unsw.edu.au
Thu Jul 31 07:59:00 BST 2003


Hi,

I am trying to install PyKDE 3.5-2 on a Mandrake 9.1 installation using
KDE 3.1, Python 2.2, QT 3.1.1, gcc 3.2.2, sip 3.5, and PyQt 3.5.

sip and PyQt installed fine. However when trying to run build.py for
PyKDE, I get this output...


Building PyKDE 3.5 for Python 2.2.2 on linux-i386.
/usr/lib/python2.2/site-packages is the PyKDE installation directory.
/usr/include/python2.2 contains Python.h.
/usr/local/bin/sip will be used as the SIP code generator.
/usr/include/python2.2 contains sipQt.h.
/usr/lib/python2.2/site-packages contains the SIP module.
/usr/lib/qt3 is the Qt base directory.
/usr/lib/qt3/include contains qglobal.h.
Qt 3.1.1 is being used.
/usr is the KDE base directory.
/usr/include contains kdeversion.h.
KDE 3.1.0 is being used.
/usr/lib/qt3/bin/qmake will be used to generate Makefiles.
The qt-mt Qt library was found.
Qt thread support is enabled.
Qt and KDE use compatible libs (threading)

found libs for modules:
     dcop kdecore kdesu kdefx kdeui kio kfile (kio) kparts khtml kjs
kspell kdeprint
******************************************************************************
Error: Couldn't import qt module from PyQt -- from line 725 in build.py
******************************************************************************


However qt.py and libqtcmodule.soX do exist in
/usr/lib/python2.2/site-packages. When I try and run the importTest.py
script it gives this error.


Testing PyKDE module imports

dcop
Traceback (most recent call last):
  File "importTest.py", line 7, in ?
    exec ("import " + mod)
  File "<string>", line 1, in ?
ImportError: No module named dcop


However the build script seems to find this module fine (as shown
above).

I could well be doing something fundamentally wrong here as I am very
new to running my own linux system, any help is appreciated.

Thanks!

Chris




More information about the PyQt mailing list