[arch-general] PyQT fails when I try to use it with Python 2.7

Kwpolska kwpolska at gmail.com
Mon Oct 29 15:07:26 EDT 2012


On Mon, Oct 29, 2012 at 2:35 PM, Asdrúbal Iván Suárez Rivera
<asdrubal.ivan.suarez.rivera at gmail.com> wrote:
>
> Hello guys, this is my first message to this list.
>
> I'm trying to install PyQT for Python 2.7 on Archlinux. I installed
> the following packages
>
> > pyqt 4.9.5-3
> > pyqt-common 4.9.5-3
> > pyqt3 3.18.1-11
> > python2-pyqt 4.9.5-3
>
> When I try to do "import qt", the following message appears

import qt?  That isn’t right. The proper module name is PyQt4.  And
the industry standard is to do a ``from PyQT4 import QtGui[, QtCore]``
import.

--
Kwpolska <http://kwpolska.tk>
stop html mail      | always bottom-post
www.asciiribbon.org | www.netmeister.org/news/learn2quote.html
GPG KEY: 5EAAEA16


More information about the arch-general mailing list