[Python-modules-team] Bug#961540: python3-pip: FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pip/_vendor/vendor.txt'
Laurent Bonnaud
L.Bonnaud at laposte.net
Mon May 25 20:14:36 BST 2020
Package: python3-pip
Version: 20.1.1-1
Severity: normal
Dear Maintainer,
running "pip3 debug" ends with a FileNotFoundError exception:
$ pip3 debug
WARNING: This command is only meant for debugging. Do not use this with automation for parsing and getting these details, since the output and options of this command may change without notice.
pip version: pip 20.1.1 from /usr/lib/python3/dist-packages/pip (python 3.8)
sys.version: 3.8.3 (default, May 14 2020, 11:03:12)
[GCC 9.3.0]
sys.executable: /usr/bin/python3
sys.getdefaultencoding: utf-8
sys.getfilesystemencoding: utf-8
locale.getpreferredencoding: UTF-8
sys.platform: linux
sys.implementation:
name: cpython
'cert' config value: Not specified
REQUESTS_CA_BUNDLE: None
CURL_CA_BUNDLE: None
pip._vendor.certifi.where(): /etc/ssl/certs/ca-certificates.crt
pip._vendor.DEBUNDLED: True
vendored library versions:
ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 188, in _main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/_internal/commands/debug.py", line 233, in run
show_vendor_versions()
File "/usr/lib/python3/dist-packages/pip/_internal/commands/debug.py", line 132, in show_vendor_versions
vendor_txt_versions = create_vendor_txt_map()
File "/usr/lib/python3/dist-packages/pip/_internal/commands/debug.py", line 58, in create_vendor_txt_map
with open(vendor_txt_path) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pip/_vendor/vendor.txt'
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.6.0-1-rt-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-pip depends on:
ii ca-certificates 20190110
ii python-pip-whl 20.1.1-1
ii python3 3.8.2-3
ii python3-distutils 3.8.3-2
ii python3-setuptools 46.1.3-1
ii python3-wheel 0.34.2-1
Versions of packages python3-pip recommends:
ii build-essential 12.8
ii python3-dev 3.8.2-3
python3-pip suggests no packages.
-- no debconf information
--
Laurent.
More information about the Python-modules-team
mailing list