[PyQt] PyQt5.QtGui can't be imported

Phil Thompson phil at riverbankcomputing.com
Mon Jul 15 10:48:26 BST 2013


On Mon, 15 Jul 2013 17:03:49 +0800, "levinie" <levinie at qq.com> wrote:
> I found PyQt5 today and have a try.I installed it on Python3.3.2 +
> Ubuntu12.04, but some module can't be imported such as PyQt5.QtGui,
> PyQt5.QtWidgets.
> 
> 
> Some other is ok, like QtCore, QtDBus, QtNetwork, QtXmlPatterns. In
fact,
> this .so file in the /opt/python/bin/lib/python3.3/site-packages, but
> QtGui.so, QtWidgets.so  not.
> 
> 
> Who can help me? I really like the PyQt5.

Did you build it yourself? What flags did you pass to configure.py? What
was the output?

Phil


More information about the PyQt mailing list