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


Groups > comp.lang.python > #103303

Re: PyQt5 not found from Python

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Newsgroups comp.lang.python
Subject Re: PyQt5 not found from Python
Date Sun, 21 Feb 2016 16:27:22 +0000
Lines 31
Message-ID <mailman.12.1456072073.20994.python-list@python.org> (permalink)
References <0df21c16-e39b-4711-b675-934ad98da61e@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de yH3X3IOrArE01bS2ZNoRZw90fIOg+E+/SyniKJZi3Pbw==
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'from:addr:yahoo.co.uk': 0.05; 'importerror:': 0.05; 'matches': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'repl': 0.09; 'python': 0.10; 'assume': 0.11; 'subject:not': 0.11; 'appropriate': 0.14; 'happily': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'stuff.': 0.16; 'wrote:': 0.16; 'try:': 0.18; 'creates': 0.18; 'language': 0.19; 'windows': 0.20; '"",': 0.22; 'assuming': 0.22; 'lawrence': 0.22; 'import': 0.24; '(most': 0.24; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'header:User- Agent:1': 0.26; 'installed': 0.26; 'header:X-Complaints-To:1': 0.26; 'van': 0.26; 'ago': 0.29; 'folder': 0.30; 'version,': 0.30; "i'd": 0.31; 'guess': 0.31; 'language.': 0.32; 'traceback': 0.33; "i'll": 0.33; 'file': 0.34; 'done': 0.35; "isn't": 0.35; 'but': 0.36; 'there': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'version': 0.38; 'drop': 0.38; 'does': 0.39; 'subject:from': 0.39; 'to:addr:python.org': 0.40; 'mark': 0.40; 'default': 0.61; 'charset:windows-1252': 0.62; 'here:': 0.63; 'our': 0.64; 'hours': 0.65; 'six': 0.65; 'stand': 0.67; 'discovered': 0.83; '3.5.1': 0.84; 'pythonistas,': 0.84; 'subject:found': 0.93
X-Injected-Via-Gmane http://gmane.org/
X-Gmane-NNTP-Posting-Host 80.234.182.166
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
In-Reply-To <0df21c16-e39b-4711-b675-934ad98da61e@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21rc2
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:103303

Show key headers only | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web