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


Groups > linux.debian.maint.python > #12252

Re: pyqt5 and entrypoint

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: pyqt5 and entrypoint
Date Sun, 02 Feb 2020 22:40:01 +0100
Message-ID <zvv8d-7cx-1@gated-at.bofh.it> (permalink)
References <zvulP-6HQ-5@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Feb 2 21:31:20 2020
Old-Return-Path <mitya57@gmail.com>
X-Amavis-Spam-Status No, score=-11.25 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=5Q0MCG3jnTIi5ZMS49GIKQTqMAkGeqfrU9+XG43cPLY=; b=RHKjTYdIofiT3XW5/oG9O7tqZqIP8GX2UVWEs5qLq45RBGJDdq/NkFu3rCPhb17oC1 7ibgqs/YfcUVbxadgwIFtKE37aiqiWV8KC/WvcM6Blv7Le6Pdo5YpOvLNoRVkSRBoFci wf/gJhCJGt3jqq/7nblW6vOKLaG2Zw+beCCj3qGsyvbbtKnMBvNfh2Chc9UdVNJGUV95 dWND3+J/pc+t2HQTn69L5pby7oDV5x1GzpCz6x8sgpwxUY9Fvh1bfXN9Dd2JgTC5EdCF DouJY/rzpJISChSi2N7i+xytw0ETU1cnpZNWrmCnv2il7pWM8x5kKPexDJUIjH5NmzTZ bIDQ==
X-Gm-Message-State APjAAAUIajlWZf2A6NpuJ/QkI3z95qjvDNyUMiF0+E1U5i/nAwCG8vM0 2ykTq4h0rqwzNku/vKa4o5Y=
X-Google-SMTP-Source APXvYqyYARTHtP2yrUznupxDznRc7Ay4cmdlo3ibcS8oA9uPn8/2P8xrUnHf+4gDAqKSYP5L1+4K6A==
X-Received by 2002:a2e:b4e7:: with SMTP id s7mr12532595ljm.58.1580679066049; Sun, 02 Feb 2020 13:31:06 -0800 (PST)
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc"
Content-Disposition inline
X-Mailing-List <debian-python@lists.debian.org> archive/latest/17871
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20200202213102.GA302286@mitya57.me
Approved robomod@news.nic.it
Lines 59
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org, kieffer@esrf.fr
X-Original-Date Mon, 3 Feb 2020 00:31:02 +0300
X-Original-Message-ID <20200202213102.GA302286@mitya57.me>
X-Original-References <A2A20EC3B8560D408356CAC2FC148E53018BDD15E5@SUN-DAG3.synchrotron-soleil.fr>
Xref csiph.com linux.debian.maint.python:12252

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

On Sun, Feb 02, 2020 at 08:21:51PM +0000, PICCA Frederic-Emmanuel wrote:
> Hello,
>
> We are working on the next pyfai package.
>
> This new version use entry_points like this
> [...]
>
> But once installed, we can not start the gui application.
> [...]
>
> pkg_resources.DistributionNotFound: The 'PyQt5' distribution was not
> found and is required by the application
>
> indeed python3-pyqt5 was installed

Please make sure you have python3-pyqt5 ≥ 5.12+dfsg-1.

If that is the case and you are still getting an error, please check
the output of the following commands in the Python console:

>>> import pkg_resources
>>> pkg_resources.get_distribution('PyQt5')

For me it prints “PyQt5 5.14.1 (/usr/lib/python3/dist-packages)”.

--
Dmitry Shachnev

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

pyqt5 and entrypoint PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2020-02-02 21:50 +0100
  Re: pyqt5 and entrypoint Dmitry Shachnev <mitya57@debian.org> - 2020-02-02 22:40 +0100
    RE:pyqt5 and entrypoint PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2020-02-02 23:20 +0100
      RE:pyqt5 and entrypoint Scott Kitterman <debian@kitterman.com> - 2020-02-03 03:20 +0100

csiph-web