ImportError: No module named PyQt4.QtGui

守株待兔 1248283536 at qq.com
Thu Aug 4 05:39:53 EDT 2011


i have  installed such things:

sudo apt-get install libqt4-dev
sudo apt-get install g++ automake
sudo apt-get install qt4-dev-tools qt4-designer qt4-doc
sudo apt-get install libqt4-opengl-dev
sudo apt-get install libqt4-sql-mysql libqt4-sql-odbc libqt4-sql-psql libqt4-sql-sqlite libqt4-sql-sqlite2

when i finished,input 
>>>from PyQt4.QtCore import *
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ImportError: No module named PyQt4.QtCore
 
would you mind to tell me how to solve it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110804/783c182e/attachment.html>


More information about the Python-list mailing list