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


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

PyQt5 not found from Python

Started byArie van Wingerden <xapwing@gmail.com>
First post2016-02-21 07:43 -0800
Last post2016-02-21 16:48 +0000
Articles 5 — 3 participants

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


Contents

  PyQt5 not found from Python Arie van Wingerden <xapwing@gmail.com> - 2016-02-21 07:43 -0800
    Re: PyQt5 not found from Python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-02-21 16:27 +0000
    Re: PyQt5 not found from Python Phil Thompson <phil@riverbankcomputing.com> - 2016-02-21 16:25 +0000
    Re: PyQt5 not found from Python Arie van Wingerden <xapwing@gmail.com> - 2016-02-21 08:40 -0800
      Re: PyQt5 not found from Python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-02-21 16:48 +0000

#103298 — PyQt5 not found from Python

FromArie van Wingerden <xapwing@gmail.com>
Date2016-02-21 07:43 -0800
SubjectPyQt5 not found from Python
Message-ID<0df21c16-e39b-4711-b675-934ad98da61e@googlegroups.com>
Python 3.5.1 installed in default Windows folder here:
  C:\Users\Arie\AppData\Local\Programs\Python\Python35-32

PyQt5 installed - it creates a folder c:\Python34

In the Python REPL i try:
   from PyQt5 import QtCore
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'PyQt5'

So i guess Python does not see the QT stuff.

What can i do about it?

TIA

[toc] | [next] | [standalone]


#103303

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2016-02-21 16:27 +0000
Message-ID<mailman.12.1456072073.20994.python-list@python.org>
In reply to#103298
On 21/02/2016 15:43, Arie van Wingerden wrote:
> Python 3.5.1 installed in default Windows folder here:
>    C:\Users\Arie\AppData\Local\Programs\Python\Python35-32
>
> PyQt5 installed - it creates a folder c:\Python34
>
> In the Python REPL i try:
>     from PyQt5 import QtCore
> Traceback (most recent call last):
>    File "<stdin>", line 1, in <module>
> ImportError: No module named 'PyQt5'
>
> So i guess Python does not see the QT stuff.
>
> What can i do about it?
>
> TIA
>

There isn't a PyQt5 for Python 3.5 as I discovered about six hours ago 
when I did exactly what you've just done :)  Assuming that you get a 
version of PyQt that matches with a Python version, I'd assume that 
you'd drop it into the appropriate lib\site-packages, but I'll happily 
stand corrected on that one.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

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


#103304

FromPhil Thompson <phil@riverbankcomputing.com>
Date2016-02-21 16:25 +0000
Message-ID<mailman.13.1456072268.20994.python-list@python.org>
In reply to#103298
On 21/02/2016 3:43 pm, Arie van Wingerden wrote:
> Python 3.5.1 installed in default Windows folder here:
>   C:\Users\Arie\AppData\Local\Programs\Python\Python35-32
> 
> PyQt5 installed - it creates a folder c:\Python34
> 
> In the Python REPL i try:
>    from PyQt5 import QtCore
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named 'PyQt5'
> 
> So i guess Python does not see the QT stuff.
> 
> What can i do about it?
> 
> TIA

There are no PyQt installers for Python 3.5 yet. There will be when PyQt 
v5.6 is released.

Phil

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


#103305

FromArie van Wingerden <xapwing@gmail.com>
Date2016-02-21 08:40 -0800
Message-ID<ffe89fe1-6e4b-4798-80b7-b53419dbe00d@googlegroups.com>
In reply to#103298
Thx. Didn't realize that!

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


#103306

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2016-02-21 16:48 +0000
Message-ID<mailman.14.1456073355.20994.python-list@python.org>
In reply to#103305
On 21/02/2016 16:40, Arie van Wingerden wrote:
> Thx. Didn't realize that!
>

Please provide some context when you reply, thanks.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

[toc] | [prev] | [standalone]


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


csiph-web