[arch-general] PyQT fails when I try to use it with Python 2.7
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
Traceback (most recent call last): File "<stdin>", line 1, in <module> RuntimeError: the sip module implements API v9.0 but the qt module requires API v8.1
I have the following sip-related packages installed on my system
python-sip 4.14-2 python2-sip 4.14-2 sip 4.14-2
Any help will be appreciated. Thanks in Advance PS: I'm not a native english speaker, so please, excuse me for grammar mistakes. -- Asdrúbal Iván Suárez Rivera Si quieres aprender, enseña. Marco Tulio Cicerón. ¿Tienes twitter? Sígueme: @asdrubalivan
On Mon, Oct 29, 2012 at 2:35 PM, Asdrúbal Iván Suárez Rivera <asdrubal.ivan.suarez.rivera@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
2012/10/29 Kwpolska <kwpolska@gmail.com>:
On Mon, Oct 29, 2012 at 2:35 PM, Asdrúbal Iván Suárez Rivera <asdrubal.ivan.suarez.rivera@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
On 30 October 2012 04:01, Asdrúbal Iván Suárez Rivera <asdrubal.ivan.suarez.rivera@gmail.com> wrote:
2012/10/29 Kwpolska <kwpolska@gmail.com>:
On Mon, Oct 29, 2012 at 2:35 PM, Asdrúbal Iván Suárez Rivera <asdrubal.ivan.suarez.rivera@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
File a bug report against pyqt3 under Community Packages at https://bugs.archlinux.org/ -- GPG/PGP ID: C0711BF1
PyQt, not PyQT. On Mon, Oct 29, 2012 at 10:35 AM, Asdrúbal Iván Suárez Rivera <asdrubal.ivan.suarez.rivera@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
Traceback (most recent call last): File "<stdin>", line 1, in <module> RuntimeError: the sip module implements API v9.0 but the qt module requires API v8.1
I have the following sip-related packages installed on my system
python-sip 4.14-2 python2-sip 4.14-2 sip 4.14-2
Any help will be appreciated.
Thanks in Advance
PS: I'm not a native english speaker, so please, excuse me for grammar mistakes.
-- Asdrúbal Iván Suárez Rivera
Si quieres aprender, enseña. Marco Tulio Cicerón.
¿Tienes twitter? Sígueme: @asdrubalivan
participants (4)
-
Asdrúbal Iván Suárez Rivera
-
Diego Viola
-
Kwpolska
-
Rashif Ray Rahman