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

Asdrúbal Iván Suárez Rivera asdrubal.ivan.suarez.rivera at gmail.com
Mon Oct 29 16:01:30 EDT 2012


2012/10/29 Kwpolska <kwpolska at gmail.com>:
> 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.
>

Kodos (A python regex debugger) uses "import qt" on his execute script

Please note it uses PyQt3...

That's why I asked


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



-- 
Asdrúbal Iván Suárez Rivera

Si quieres aprender, enseña. Marco Tulio Cicerón.

¿Tienes twitter?
Sígueme: @asdrubalivan


More information about the arch-general mailing list