Re: PyQT fails when I try to use it with Python 2.7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Oct 29, 2012 at 2:35 PM, Asdrúbal Iván Suárez Rivera
<asdrubal.ivan.suarez.rivera@xxxxxxxxx> 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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux