[PyKDE] import problem

Hans-Peter Jansen hpj at urpla.net
Sun Jul 7 21:52:01 BST 2002


On Sun, 7 Jul 2002 21:43:47 +0200
"Diez B. Roggisch" <deets at web.de> wrote:

> I have sucessfully build and installed the latest sip and pyqt releases. But 
> for some reason the importing of libqtc isn't performed properly when 
> importing qt. Strangely enough, that doesn't produce any errors, only a loss 
> of class definitions (which renders any attempts to use qt useless).
> 
> If I "cd" to my site-package dir a
> 
> import qt
> 
> produces the desired results. 
> 
> Setting the LD_LIBRARY_PATH didn't work. I searched the list, but didn't find 
> anything on this.
> 
> Any ideas? My python version is 2.1.3, an out-of-the-box debian installation.
>

Have a look into your python base directory to see, if there's another qt.py
module lying around.

> Regards,
> 
> Diez

Hans-Peter 




More information about the PyQt mailing list