[PyKDE] PyQt installation error

Phil Thompson phil at river-bank.demon.co.uk
Fri Nov 16 11:48:53 GMT 2001


Luca Fini wrote:
> 
> 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?

I think somebody else had this problem (it will be a RedHat problem),
have you checked the archives?

Phil




More information about the PyQt mailing list