[PyKDE] import error in pyqt

Ismail Donmez ismail at pardus.org.tr
Thu Mar 30 16:40:53 BST 2006


Perşembe 30 Mart 2006 17:23 tarihinde, linux at lexpress.net şunları yazmıştı: 
> Hello
>
> i have installed that packages under windows
>
> python-2.4.1.msi
> qt-win-opensource-4.1.2-mingw.exe
> PyQt4-gpl-snapshot-20060111.exe
>
>
> whene i try to import qt from python it prints the error
> 'no module named qt'
>
> should i change the version of pyqt ??

Try like this

from PyQt4 import QtGui, QtCore

/ismail

-- 
If at first you don't succeed, redefine success.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20060330/b6c191ab/attachment.bin


More information about the PyQt mailing list