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


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

RE:pyqt5 and entrypoint

From PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Newsgroups linux.debian.maint.python
Subject RE:pyqt5 and entrypoint
Date 2020-02-02 23:20 +0100
Message-ID <zvvKV-7EL-1@gated-at.bofh.it> (permalink)
References <zvvKV-7EL-3@gated-at.bofh.it> <zvv8d-7cx-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello

on unstable it works but on buster (and we need to make it work for buster)
we have this message

Python 3.7.3 (default, Apr  3 2019, 05:39:12) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pkg_resources
>>> pkg_resources.get_distribution('PyQt5')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 481, in get_distribution
    dist = get_provider(dist)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 357, in get_provider
    return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'PyQt5' distribution was not found and is required by the application

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