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


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

Re: pyqt5 and entrypoint

From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: pyqt5 and entrypoint
Date 2020-02-02 22:40 +0100
Message-ID <zvv8d-7cx-1@gated-at.bofh.it> (permalink)
References <zvulP-6HQ-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | 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