[Python-modules-team] Bug#787165: python-pip: some pip commands don't work: freeze, list, maybe others
clayton
claytonk at gmx.com
Fri May 29 10:40:38 UTC 2015
Package: python-pip
Version: 1.5.6-6
Severity: important
For instance:
root at t410:~# pip freeze
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/freeze.py", line 74, in run
req = pip.FrozenRequirement.from_dist(dist, dependency_links, find_tags=find_tags)
File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 299, in from_dist
assert len(specs) == 1 and specs[0][0] == '=='
AssertionError
Storing debug log for failure in /root/.pip/pip.log
root at t410:~# pip list
apsw (3.8.6.post1)
archivemail (0.9.0)
argparse (1.2.1)
BeautifulSoup (3.2.1)
beautifulsoup4 (4.1.3)
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 80, in run
self.run_listing(options)
File "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 142, in run_listing
self.output_package_listing(installed_packages)
File "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 151, in output_package_listing
if dist_is_editable(dist):
File "/usr/lib/python2.7/dist-packages/pip/util.py", line 367, in dist_is_editable
req = FrozenRequirement.from_dist(dist, [])
File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 299, in from_dist
assert len(specs) == 1 and specs[0][0] == '=='
AssertionError
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (800, 'testing'), (700, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-pip depends on:
ii ca-certificates 20141019
ii python 2.7.9-1
ii python-colorama 0.3.3-1
ii python-distlib 0.2.0-2
ii python-html5lib 0.999-3
ii python-pkg-resources 16.0-2
ii python-requests 2.4.3-6
ii python-setuptools 16.0-2
ii python-six 1.9.0-3
pn python:any <none>
Versions of packages python-pip recommends:
ii build-essential 11.7
pn python-dev-all <none>
ii python-wheel 0.24.0-1
python-pip suggests no packages.
-- no debconf information
More information about the Python-modules-team
mailing list