[PyKDE] PyQt installation error

Luca Fini lfini at arcetri.astro.it
Thu Nov 15 13:53:19 GMT 2001


After solving the compilation problems, I've still troubles in running a 
PyQt application.

I'm using sip-2.4 and PyQt-2.4,i qt-2.3.1, Python 2.1.1  on RedHat 7.2 
Linux. I selected version 2.4 because my qt.py file says: "Generated by 
SIP v2.4" (but I've also tested sip-2.5 and PyQt-2.5 with the samne 
result)

Both sip and PyQt compile and install smoothly, but when I try to import 
qt I get:

>>> from qt import *
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.1/site-packages/qt.py", line 2532, in ?
    libqtc.sipRegisterClasses()
SystemError: Unable to find class object for QWorkspace



Nay hints?

					l.f.
-- 
--------------------------------------------------------------------------
       -- )     Luca Fini                            Tel: +39 055 2752 307
 ___    |\      Osservatorio Astrofisico di Arcetri  Fax: +39 055 2752 292
/   |   | |-_   L.go E.Fermi, 5 +-----------------------------------------
(___|___//___)  50125 Firenze  /   WWW: http://www.arcetri.astro.it/~lfini
 (_)      (_)   Italia        / e-mail: lfini at arcetri.astro.it
-----------------------------+--------------------------------------------






More information about the PyQt mailing list