Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #41547 > unrolled thread

Help. HOW TO guide for PyQt installation

Started by"D. Xenakis" <gouzounakis@hotmail.com>
First post2013-03-19 17:12 -0700
Last post2013-03-21 02:20 -0700
Articles 10 — 4 participants

Back to article view | Back to comp.lang.python


Contents

  Help. HOW TO guide for PyQt installation "D. Xenakis" <gouzounakis@hotmail.com> - 2013-03-19 17:12 -0700
    Re: Help. HOW TO guide for PyQt installation Terry Reedy <tjreedy@udel.edu> - 2013-03-19 20:55 -0400
      Re: Help. HOW TO guide for PyQt installation "D. Xenakis" <gouzounakis@hotmail.com> - 2013-03-19 23:42 -0700
      Re: Help. HOW TO guide for PyQt installation "D. Xenakis" <gouzounakis@hotmail.com> - 2013-03-19 23:42 -0700
    Re: Help. HOW TO guide for PyQt installation jmfauth <wxjmfauth@gmail.com> - 2013-03-20 02:09 -0700
      Re: Help. HOW TO guide for PyQt installation Phil Thompson <phil@riverbankcomputing.com> - 2013-03-20 09:30 +0000
        Re: Help. HOW TO guide for PyQt installation jmfauth <wxjmfauth@gmail.com> - 2013-03-20 03:29 -0700
          Re: Help. HOW TO guide for PyQt installation Phil Thompson <phil@riverbankcomputing.com> - 2013-03-20 10:38 +0000
            Re: Help. HOW TO guide for PyQt installation jmfauth <wxjmfauth@gmail.com> - 2013-03-21 00:10 -0700
          Re: Help. HOW TO guide for PyQt installation jmfauth <wxjmfauth@gmail.com> - 2013-03-21 02:20 -0700

#41547 — Help. HOW TO guide for PyQt installation

From"D. Xenakis" <gouzounakis@hotmail.com>
Date2013-03-19 17:12 -0700
SubjectHelp. HOW TO guide for PyQt installation
Message-ID<42ffe571-9a27-4e89-adcc-b3bd0c518577@googlegroups.com>
Hi there,
Im searching for an installation guide for PyQt toolkit.
To be honest im very confused about what steps should i follow for a complete and clean installation. Should i better choose to install the 32bit or the 64bit windows version? Or maybe both? Any chance one of them is more/less bug-crashy than the other? I know both are availiable on the website but just asking.. If i installed this package on windows 8, should i have any problems? From what i read PyQt supports only xp and win7.
I was thinking about installing the newer version of PyQt along with the QT5. I have zero expirience on PyQt so either way, everything is going to be new to me, so i dont care that much about the learning curve diference between new and old PyQt - Qt version. I did not find any installer so i guess i should customly do everything. Any guide for this plz?

Id also like to ask.. Commercial licence of PyQt can only be bought on riverbank's website? I think i noticed somewhere an other reseller "cheaper one" or maybe i didnt know what the hell i was reading :). Maybe something about Qt and not PyQt.

Please help this noob,
Regards

[toc] | [next] | [standalone]


#41549

FromTerry Reedy <tjreedy@udel.edu>
Date2013-03-19 20:55 -0400
Message-ID<mailman.3539.1363740948.2939.python-list@python.org>
In reply to#41547
On 3/19/2013 8:12 PM, D. Xenakis wrote:
> Hi there, Im searching for an installation guide for PyQt toolkit. To
> be honest im very confused about what steps should i follow for a
> complete and clean installation. Should i better choose to install
> the 32bit or the 64bit windows version?

I am rather sure you should match your Python installation.

> If i installed this
> package on windows 8, should i have any problems? From what i read
> PyQt supports only xp and win7.

If the PyQT author(s) say nothing about Win8, I would presume that they 
have not tested it. Do you really want to be a guinea pig?

> I was thinking about installing the
> newer version of PyQt along with the QT5.

Does PyQT 'say' that it works with QT5? If so, try it.

-- 
Terry Jan Reedy

[toc] | [prev] | [next] | [standalone]


#41572

From"D. Xenakis" <gouzounakis@hotmail.com>
Date2013-03-19 23:42 -0700
Message-ID<d7a9c8fb-62fd-4a68-8a58-430e4fe19c88@googlegroups.com>
In reply to#41549
Τη Τετάρτη, 20 Μαρτίου 2013 2:55:22 π.μ. UTC+2, ο χρήστης Terry Reedy έγραψε:
> On 3/19/2013 8:12 PM, D. Xenakis wrote:
> 
> > Hi there, Im searching for an installation guide for PyQt toolkit. To
> 
> > be honest im very confused about what steps should i follow for a
> 
> > complete and clean installation. Should i better choose to install
> 
> > the 32bit or the 64bit windows version?
> 
> 
> 
> I am rather sure you should match your Python installation.
> 
> 
> 
> > If i installed this
> 
> > package on windows 8, should i have any problems? From what i read
> 
> > PyQt supports only xp and win7.
> 
> 
> 
> If the PyQT author(s) say nothing about Win8, I would presume that they 
> 
> have not tested it. Do you really want to be a guinea pig?
> 
> 
> 
> > I was thinking about installing the
> 
> > newer version of PyQt along with the QT5.
> 
> 
> 
> Does PyQT 'say' that it works with QT5? If so, try it.
> 
> 
> 
> -- 
> 
> Terry Jan Reedy

http://www.riverbankcomputing.co.uk/news
Yes from their news

Yes i'll better stay same version as python.
Im just asking as my new laptop has win8 on that and even though i got a linux partition on that, id rather not install a win7 partition too :D. I'll give it a try what the hek. maybe there is a win7 compability mode or win7image option inside win 7 anyway.

I know i cant expect a guide how to as everything is quite new here, but .. im just searching for some guidelines here. I have download and installed already "PyQt4-4.10-gpl-Py3.3-Qt5.0.1-x32-2.exe	Windows 32 bit installer" out from this website http://www.riverbankcomputing.co.uk/software/pyqt/download , in my start menu there is a new folder named "PyQt GPL v4.10 for Python v3.3 (x32)" but when i run Designer and go to about tab it only says:
Qt Assistant
Version 5.0.1
Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).

Would that be normal? Shouldn't i also see somewhere anything about PyQt.. :P

And last but not least.. 
ive noticed in the Riverbank's website this notice "Before you can build PyQt you must have already built and installed SIP"

I havent done that..

What exactly will happend now, that i have not installed that yet. What would the conflict be (im asking more so that i can understand how this helps).

Thx 4 your time guys just by reading this!

[toc] | [prev] | [next] | [standalone]


#41574

From"D. Xenakis" <gouzounakis@hotmail.com>
Date2013-03-19 23:42 -0700
Message-ID<mailman.3551.1363764112.2939.python-list@python.org>
In reply to#41549
Τη Τετάρτη, 20 Μαρτίου 2013 2:55:22 π.μ. UTC+2, ο χρήστης Terry Reedy έγραψε:
> On 3/19/2013 8:12 PM, D. Xenakis wrote:
> 
> > Hi there, Im searching for an installation guide for PyQt toolkit. To
> 
> > be honest im very confused about what steps should i follow for a
> 
> > complete and clean installation. Should i better choose to install
> 
> > the 32bit or the 64bit windows version?
> 
> 
> 
> I am rather sure you should match your Python installation.
> 
> 
> 
> > If i installed this
> 
> > package on windows 8, should i have any problems? From what i read
> 
> > PyQt supports only xp and win7.
> 
> 
> 
> If the PyQT author(s) say nothing about Win8, I would presume that they 
> 
> have not tested it. Do you really want to be a guinea pig?
> 
> 
> 
> > I was thinking about installing the
> 
> > newer version of PyQt along with the QT5.
> 
> 
> 
> Does PyQT 'say' that it works with QT5? If so, try it.
> 
> 
> 
> -- 
> 
> Terry Jan Reedy

http://www.riverbankcomputing.co.uk/news
Yes from their news

Yes i'll better stay same version as python.
Im just asking as my new laptop has win8 on that and even though i got a linux partition on that, id rather not install a win7 partition too :D. I'll give it a try what the hek. maybe there is a win7 compability mode or win7image option inside win 7 anyway.

I know i cant expect a guide how to as everything is quite new here, but .. im just searching for some guidelines here. I have download and installed already "PyQt4-4.10-gpl-Py3.3-Qt5.0.1-x32-2.exe	Windows 32 bit installer" out from this website http://www.riverbankcomputing.co.uk/software/pyqt/download , in my start menu there is a new folder named "PyQt GPL v4.10 for Python v3.3 (x32)" but when i run Designer and go to about tab it only says:
Qt Assistant
Version 5.0.1
Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).

Would that be normal? Shouldn't i also see somewhere anything about PyQt.. :P

And last but not least.. 
ive noticed in the Riverbank's website this notice "Before you can build PyQt you must have already built and installed SIP"

I havent done that..

What exactly will happend now, that i have not installed that yet. What would the conflict be (im asking more so that i can understand how this helps).

Thx 4 your time guys just by reading this!

[toc] | [prev] | [next] | [standalone]


#41577

Fromjmfauth <wxjmfauth@gmail.com>
Date2013-03-20 02:09 -0700
Message-ID<4610145a-e090-4fb5-ba7f-6c8570e97fa5@h11g2000vbf.googlegroups.com>
In reply to#41547
On 20 mar, 01:12, "D. Xenakis" <gouzouna...@hotmail.com> wrote:
> Hi there,
> Im searching for an installation guide for PyQt toolkit.
> To be honest im very confused about what steps should i follow for a complete and clean installation. Should i better choose to install the 32bit or the 64bit windows version? Or maybe both? Any chance one of them is more/less bug-crashy than the other? I know both are availiable on the website but just asking.. If i installed this package on windows 8, should i have any problems? From what i read PyQt supports only xp and win7.
> I was thinking about installing the newer version of PyQt along with the QT5. I have zero expirience on PyQt so either way, everything is going to be new to me, so i dont care that much about the learning curve diference between new and old PyQt - Qt version. I did not find any installer so i guess i should customly do everything. Any guide for this plz?
>
> Id also like to ask.. Commercial licence of PyQt can only be bought on riverbank's website? I think i noticed somewhere an other reseller "cheaper one" or maybe i didnt know what the hell i was reading :). Maybe something about Qt and not PyQt.
>
> Please help this noob,
> Regards

--------

Short answer without explanation. It does not work.

jmf

[toc] | [prev] | [next] | [standalone]


#41578

FromPhil Thompson <phil@riverbankcomputing.com>
Date2013-03-20 09:30 +0000
Message-ID<mailman.3553.1363772210.2939.python-list@python.org>
In reply to#41577
On Wed, 20 Mar 2013 02:09:06 -0700 (PDT), jmfauth <wxjmfauth@gmail.com>
wrote:
> On 20 mar, 01:12, "D. Xenakis" <gouzouna...@hotmail.com> wrote:
>> Hi there,
>> Im searching for an installation guide for PyQt toolkit.
>> To be honest im very confused about what steps should i follow for a
>> complete and clean installation. Should i better choose to install the
>> 32bit or the 64bit windows version? Or maybe both? Any chance one of
them
>> is more/less bug-crashy than the other? I know both are availiable on
the
>> website but just asking.. If i installed this package on windows 8,
>> should i have any problems? From what i read PyQt supports only xp and
>> win7.
>> I was thinking about installing the newer version of PyQt along with
the
>> QT5. I have zero expirience on PyQt so either way, everything is going
to
>> be new to me, so i dont care that much about the learning curve
diference
>> between new and old PyQt - Qt version. I did not find any installer so
i
>> guess i should customly do everything. Any guide for this plz?
>>
>> Id also like to ask.. Commercial licence of PyQt can only be bought on
>> riverbank's website? I think i noticed somewhere an other reseller
>> "cheaper one" or maybe i didnt know what the hell i was reading :).
Maybe
>> something about Qt and not PyQt.
>>
>> Please help this noob,
>> Regards
> 
> --------
> 
> Short answer without explanation. It does not work.
> 
> jmf

Well it works for me. Care to elaborate?

Phil

[toc] | [prev] | [next] | [standalone]


#41583

Fromjmfauth <wxjmfauth@gmail.com>
Date2013-03-20 03:29 -0700
Message-ID<9985e47e-7123-41d8-9402-5d7e659f3c46@r8g2000vbj.googlegroups.com>
In reply to#41578
On 20 mar, 10:30, Phil Thompson <p...@riverbankcomputing.com> wrote:
> On Wed, 20 Mar 2013 02:09:06 -0700 (PDT), jmfauth <wxjmfa...@gmail.com>
> wrote:
>
>
>
>
>
>
>
>
>
> > On 20 mar, 01:12, "D. Xenakis" <gouzouna...@hotmail.com> wrote:
> >> Hi there,
> >> Im searching for an installation guide for PyQt toolkit.
> >> To be honest im very confused about what steps should i follow for a
> >> complete and clean installation. Should i better choose to install the
> >> 32bit or the 64bit windows version? Or maybe both? Any chance one of
> them
> >> is more/less bug-crashy than the other? I know both are availiable on
> the
> >> website but just asking.. If i installed this package on windows 8,
> >> should i have any problems? From what i read PyQt supports only xp and
> >> win7.
> >> I was thinking about installing the newer version of PyQt along with
> the
> >> QT5. I have zero expirience on PyQt so either way, everything is going
> to
> >> be new to me, so i dont care that much about the learning curve
> diference
> >> between new and old PyQt - Qt version. I did not find any installer so
> i
> >> guess i should customly do everything. Any guide for this plz?
>
> >> Id also like to ask.. Commercial licence of PyQt can only be bought on
> >> riverbank's website? I think i noticed somewhere an other reseller
> >> "cheaper one" or maybe i didnt know what the hell i was reading :).
> Maybe
> >> something about Qt and not PyQt.
>
> >> Please help this noob,
> >> Regards
>
> > --------
>
> > Short answer without explanation. It does not work.
>
> > jmf
>
> Well it works for me. Care to elaborate?
>
> Phil

No problem.

Yesterday, I downloaded "PyQt4-4.10-gpl-Py3.3-Qt5.0.1-x32-2.exe"
and installed it on my Windows 7 Pro box after having removed
a previous version.

No problem with the installation.

I quickly tested it with one of my interactive Python interpreters
and got an error "from PyQt4 import QtGui, QtCore" saying, that the
DLL cannot be found.

Something similar to what Detlev Offenbach reported on
the PyQt mailing list. Although, I'm not using Qsci.

Strangely, I had not problem (if I recall correctly) with a
very basic application (QMainWindow + QLineEdit).

I had no problem with the demo (I only lauched it).

I did not spend to much time in investigating further.

It's the first time I see such an error; usually, no problem.

jmf

[toc] | [prev] | [next] | [standalone]


#41584

FromPhil Thompson <phil@riverbankcomputing.com>
Date2013-03-20 10:38 +0000
Message-ID<mailman.3559.1363775903.2939.python-list@python.org>
In reply to#41583
On Wed, 20 Mar 2013 03:29:35 -0700 (PDT), jmfauth <wxjmfauth@gmail.com>
wrote:
> On 20 mar, 10:30, Phil Thompson <p...@riverbankcomputing.com> wrote:
>> On Wed, 20 Mar 2013 02:09:06 -0700 (PDT), jmfauth <wxjmfa...@gmail.com>
>> wrote:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> > On 20 mar, 01:12, "D. Xenakis" <gouzouna...@hotmail.com> wrote:
>> >> Hi there,
>> >> Im searching for an installation guide for PyQt toolkit.
>> >> To be honest im very confused about what steps should i follow for a
>> >> complete and clean installation. Should i better choose to install
the
>> >> 32bit or the 64bit windows version? Or maybe both? Any chance one of
>> them
>> >> is more/less bug-crashy than the other? I know both are availiable
on
>> the
>> >> website but just asking.. If i installed this package on windows 8,
>> >> should i have any problems? From what i read PyQt supports only xp
and
>> >> win7.
>> >> I was thinking about installing the newer version of PyQt along with
>> the
>> >> QT5. I have zero expirience on PyQt so either way, everything is
going
>> to
>> >> be new to me, so i dont care that much about the learning curve
>> diference
>> >> between new and old PyQt - Qt version. I did not find any installer
so
>> i
>> >> guess i should customly do everything. Any guide for this plz?
>>
>> >> Id also like to ask.. Commercial licence of PyQt can only be bought
on
>> >> riverbank's website? I think i noticed somewhere an other reseller
>> >> "cheaper one" or maybe i didnt know what the hell i was reading :).
>> Maybe
>> >> something about Qt and not PyQt.
>>
>> >> Please help this noob,
>> >> Regards
>>
>> > --------
>>
>> > Short answer without explanation. It does not work.
>>
>> > jmf
>>
>> Well it works for me. Care to elaborate?
>>
>> Phil
> 
> No problem.
> 
> Yesterday, I downloaded "PyQt4-4.10-gpl-Py3.3-Qt5.0.1-x32-2.exe"
> and installed it on my Windows 7 Pro box after having removed
> a previous version.
> 
> No problem with the installation.
> 
> I quickly tested it with one of my interactive Python interpreters
> and got an error "from PyQt4 import QtGui, QtCore" saying, that the
> DLL cannot be found.
>
> Something similar to what Detlev Offenbach reported on
> the PyQt mailing list. Although, I'm not using Qsci.
> 
> Strangely, I had not problem (if I recall correctly) with a
> very basic application (QMainWindow + QLineEdit).
> 
> I had no problem with the demo (I only lauched it).
> 
> I did not spend to much time in investigating further.
> 
> It's the first time I see such an error; usually, no problem.

The only time that I've seen a problem like that is when running from a
shell that was started before running the PyQt installer (ie. one with an
out of date PATH).

Phil

[toc] | [prev] | [next] | [standalone]


#41635

Fromjmfauth <wxjmfauth@gmail.com>
Date2013-03-21 00:10 -0700
Message-ID<8a05e50b-5993-4139-b22a-08b85d7006ec@14g2000vbr.googlegroups.com>
In reply to#41584
On 20 mar, 11:38, Phil Thompson <p...@riverbankcomputing.com> wrote:
> On Wed, 20 Mar 2013 03:29:35 -0700 (PDT), jmfauth <wxjmfa...@gmail.com>
> wrote:
>
>
>
>
>
>
>
>
>
> > On 20 mar, 10:30, Phil Thompson <p...@riverbankcomputing.com> wrote:
> >> On Wed, 20 Mar 2013 02:09:06 -0700 (PDT), jmfauth <wxjmfa...@gmail.com>
> >> wrote:
>
> >> > On 20 mar, 01:12, "D. Xenakis" <gouzouna...@hotmail.com> wrote:
> >> >> Hi there,
> >> >> Im searching for an installation guide for PyQt toolkit.
> >> >> To be honest im very confused about what steps should i follow for a
> >> >> complete and clean installation. Should i better choose to install
> the
> >> >> 32bit or the 64bit windows version? Or maybe both? Any chance one of
> >> them
> >> >> is more/less bug-crashy than the other? I know both are availiable
> on
> >> the
> >> >> website but just asking.. If i installed this package on windows 8,
> >> >> should i have any problems? From what i read PyQt supports only xp
> and
> >> >> win7.
> >> >> I was thinking about installing the newer version of PyQt along with
> >> the
> >> >> QT5. I have zero expirience on PyQt so either way, everything is
> going
> >> to
> >> >> be new to me, so i dont care that much about the learning curve
> >> diference
> >> >> between new and old PyQt - Qt version. I did not find any installer
> so
> >> i
> >> >> guess i should customly do everything. Any guide for this plz?
>
> >> >> Id also like to ask.. Commercial licence of PyQt can only be bought
> on
> >> >> riverbank's website? I think i noticed somewhere an other reseller
> >> >> "cheaper one" or maybe i didnt know what the hell i was reading :).
> >> Maybe
> >> >> something about Qt and not PyQt.
>
> >> >> Please help this noob,
> >> >> Regards
>
> >> > --------
>
> >> > Short answer without explanation. It does not work.
>
> >> > jmf
>
> >> Well it works for me. Care to elaborate?
>
> >> Phil
>
> > No problem.
>
> > Yesterday, I downloaded "PyQt4-4.10-gpl-Py3.3-Qt5.0.1-x32-2.exe"
> > and installed it on my Windows 7 Pro box after having removed
> > a previous version.
>
> > No problem with the installation.
>
> > I quickly tested it with one of my interactive Python interpreters
> > and got an error "from PyQt4 import QtGui, QtCore" saying, that the
> > DLL cannot be found.
>
> > Something similar to what Detlev Offenbach reported on
> > the PyQt mailing list. Although, I'm not using Qsci.
>
> > Strangely, I had not problem (if I recall correctly) with a
> > very basic application (QMainWindow + QLineEdit).
>
> > I had no problem with the demo (I only lauched it).
>
> > I did not spend to much time in investigating further.
>
> > It's the first time I see such an error; usually, no problem.
>
> The only time that I've seen a problem like that is when running from a
> shell that was started before running the PyQt installer (ie. one with an
> out of date PATH).
>
> Phil

------

The PATH could be the cause. I stupidly forgot to check it
before removing PyQt...

I repeated the experiment (app == eta26.py). With and
without "PyQt" in the system PATH. (Btw, why is it
necessary?)

D:\jm\jmpy\eta\eta26>c:\python32\python eta26.py
PyQt: 4.8.6, Qt: 4.7.4 Python 3.2.3

No problem.



D:\jm\jmpy\eta\eta26>c:\python33\python eta26.py
Traceback (most recent call last):
  File "eta26.py", line 32, in <module>
    from PyQt4 import QtGui, QtCore
ImportError: DLL load failed: Le module spécifié est introuvable.
(Translation: The specified module can no be found.)



D:\jm\jmpy\eta\eta26>c:\python33\python eta26.py
PyQt: 4.10, Qt: 4.8.4 Python 3.3.0

No problem.



No idea. It is mysterious for me. eta26 is only
importing QtGui and QtCore. It however uses a sophisticated
widget like QPlainTextEdit.

jmf

[toc] | [prev] | [next] | [standalone]


#41639

Fromjmfauth <wxjmfauth@gmail.com>
Date2013-03-21 02:20 -0700
Message-ID<ec0b825e-4b8b-4770-bf68-c34cde7d8490@x13g2000vby.googlegroups.com>
In reply to#41583
On 20 mar, 11:29, jmfauth <wxjmfa...@gmail.com> wrote:
> On 20 mar, 10:30, Phil Thompson <p...@riverbankcomputing.com> wrote:

-----
>
>
> Strangely, I had not problem (if I recall correctly) with a
> very basic application (QMainWindow + QLineEdit).


ADDENDUM, CORRECTION

It fails too. I forgot to rename PySide --> PyQt4 !

I tried to collect other experiences via Google. No luck.

jmf

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web