[PyKDE] debian-problem

Martin.Zohlhuber at tttech.com Martin.Zohlhuber at tttech.com
Mon Apr 5 15:51:01 BST 2004


Hello 
I want run my PyQT programm on debian linux. The admin has it installed 
and eric3 runs. 
When i run a script (show a qt-Button) in eric3 it runs without troubles. 
I can also import qt in the interactive interpreter without troubles. 

In the console i get a traceback, when i want import qt. The follow 
message shows sys.path and the traceback:
------------------
['/Node/tttprime/ttt/private/zohlhuber/qt_hw', '/usr/local/bin', 
'/usr/bin', '/bin', '/usr/bin/X11', '/usr/games', '/usr/lib/python23.zip', 
'/usr/lib/python2.3', '/usr/lib/python2.3/plat-linux2', 
'/usr/lib/python2.3/lib-tk', '/usr/lib/python2.3/lib-dynload', 
'/usr/local/lib/python2.3/site-packages', '/usr/local/lib/site-python', 
'/usr/lib/python2.3/site-packages', 
'/usr/lib/python2.3/site-packages/eric3', 
'/usr/lib/python2.3/site-packages/eric3/Debugger', 
'/usr/lib/python2.3/site-packages/eric3/ThirdParty/brm', 
'/usr/local/lib/python23.zip', '/usr/local/lib/python2.3', 
'/usr/local/lib/python2.3/plat-linux2', '/usr/local/lib/python2.3/lib-tk', 
'/usr/local/lib/python2.3/lib-dynload']
Traceback (most recent call last):
  File "qt_hw.py", line 3, in ?
    from qt import *
  File "/usr/lib/python2.3/site-packages/qt.py", line 25, in ?
    import libqtc
ImportError: /usr/lib/python2.3/site-packages/libqtcmodule.so: undefined 
symbol: PyUnicodeUCS4_FromUnicode
--------------------


When i try to import libqtc (before import qt) i get follow traceback: 
--------------
Traceback (most recent call last):
  File "qt_hw.py", line 3, in ?
    import libqtc
ImportError: libsip.so.10: cannot open shared object file: No such file or 
directory
-------------------


eric3 show me follow Version numbers:
Python 2.3.3
Qt 3.2.1
PyQT 3.8
QScintilla 1.2
Eric 3.3.1
Bicyle Repair Man 0.9 Beta4

Whats wrong ? 
What do eric3, what i am not do ? Have somebody a idea ? 

Thanks 
martin







More information about the PyQt mailing list