Bug#891618: DistributionNotFound: The 'pyqt5' distribution was not found

Ghislain Antony Vaillant ghisvail at gmail.com
Tue Feb 27 07:43:48 UTC 2018


Package: spyder3
Version: 3.2.6+dfsg1-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

The latest update of src:spyder now explicitly requires pyqt5. Despite
being pulled transitively by python{,3}-qtpy, detection by pkg_resources 
is failing. Launching spyder3 yields a DistributionNotFound error with
the following traceback:

Traceback (most recent call last):
  File "/usr/bin/spyder3", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/home/ghislain/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3147, in <module>
    @_call_aside
  File "/home/ghislain/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3131, in _call_aside
    f(*args, **kwargs)
  File "/home/ghislain/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3160, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/home/ghislain/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 666, in _build_master
    ws.require(__requires__)
  File "/home/ghislain/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 984, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/ghislain/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 870, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pyqt5' distribution was not found and is required by spyder

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages spyder3 depends on:
ii  python3         3.6.4-1
ii  python3-spyder  3.2.6+dfsg1-1
ii  python3.6       3.6.4-4

spyder3 recommends no packages.

spyder3 suggests no packages.

Versions of packages python3-spyder depends on:
ii  libjs-jquery         3.2.1-1
ii  libjs-mathjax        2.7.2+dfsg-1
ii  pylint3              1.8.1-1
ii  python3              3.6.4-1
ii  python3-chardet      3.0.4-1
ii  python3-cloudpickle  0.5.2-2
ii  python3-jedi         0.11.1-1
ii  python3-nbconvert    5.3.1-1
ii  python3-numpydoc     0.7.0-1
ii  python3-pickleshare  0.7.4-2
ii  python3-psutil       5.4.2-1
ii  python3-pycodestyle  2.3.1-2
ii  python3-pyflakes     1.6.0-1
ii  python3-pygments     2.2.0+dfsg-1
ii  python3-qtawesome    0.4.4+ds1-1
ii  python3-qtconsole    4.3.1-1
ii  python3-qtpy         1.3.1-1
ii  python3-rope         0.10.5-2
ii  python3-sphinx       1.6.7-1
ii  python3-zmq          16.0.2-2+b1
ii  spyder-common        3.2.6+dfsg1-1

Versions of packages python3-spyder suggests:
ii  cython3             0.26.1-0.4
pn  python3-matplotlib  <none>
pn  python3-numpy       <none>
pn  python3-pandas      <none>
ii  python3-pil         4.3.0-2
pn  python3-scipy       <none>
pn  python3-sympy       <none>
pn  spyder-doc          <none>

Versions of packages python3-pyqt5 depends on:
ii  libc6                            2.26-6
ii  libgcc1                          1:8-20180218-1
ii  libpython3.6                     3.6.4-4
ii  libqt5core5a [qtbase-abi-5-9-2]  5.9.2+dfsg-12
ii  libqt5dbus5                      5.9.2+dfsg-12
ii  libqt5designer5                  5.9.2-6
ii  libqt5gui5                       5.9.2+dfsg-12
ii  libqt5help5                      5.9.2-6
ii  libqt5network5                   5.9.2+dfsg-12
ii  libqt5printsupport5              5.9.2+dfsg-12
ii  libqt5test5                      5.9.2+dfsg-12
ii  libqt5widgets5                   5.9.2+dfsg-12
ii  libqt5xml5                       5.9.2+dfsg-12
ii  libstdc++6                       8-20180218-1
ii  python3                          3.6.4-1
ii  python3-sip [sip-py3api-12.3]    4.19.7+dfsg-1

Versions of packages python3-pyqt5 suggests:
pn  python3-pyqt5-dbg  <none>

-- no debconf information



More information about the debian-science-maintainers mailing list