[Python-modules-team] Bug#945887: jupyter-notebook: pip3 is not working after installation

Patrice DUROUX duroux.patrice at orange.fr
Sat Nov 30 15:47:35 GMT 2019


Package: jupyter-notebook
Version: 6.0.0-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

$ apt install jupyter-notebook

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

$ pip3 check

   * What was the outcome of this action?

$ pip3 check
Exception:
Traceback (most recent call last):
  File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2649, in version
    return self._version
  File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2756, in __getattr__
    raise AttributeError(attr)
AttributeError: _version

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 143, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/_internal/commands/check.py", line 19, in run
    package_set = create_package_set_from_installed()
  File "/usr/lib/python3/dist-packages/pip/_internal/operations/check.py", line 41, in create_package_set_from_installed
    package_set[name] = PackageDetails(dist.version, dist.requires())
  File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2654, in version
    raise ValueError(tmpl % self.PKG_INFO, self)
ValueError: ("Missing 'Version:' header and/or PKG-INFO file", testpath [unknown version] (/usr/lib/python3/dist-packages))

   * What outcome did you expect instead?

$ pip3 check
No broken requirements found.


*** End of the template - remove these template lines ***

Thanks,
Patrice

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-3-amd64 (SMP w/24 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
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 jupyter-notebook depends on:
ii  init-system-helpers  1.57
ii  jupyter-core         4.6.1-1
ii  python3              3.7.5-3
ii  python3-notebook     6.0.0-1

jupyter-notebook recommends no packages.

jupyter-notebook suggests no packages.

-- no debconf information



More information about the Python-modules-team mailing list