Pros and cons of Python sources?
Martin Schöön
martin.schoon at gmail.com
Wed Nov 29 15:46:26 EST 2017
Den 2017-11-28 skrev Cameron Simpson <cs at cskk.id.au>:
> On 28Nov2017 21:23, Martin Schöön <martin.schoon at gmail.com> wrote:
>>The reason I think all is not well is the fact that pip list no only
>>results in a list of packages but at the end of the list (which does
>>not look complete) there is a bunch of error messages.
>
> Please post them. Maybe someone has some insight. (Also post the pip command
> itself producing the messages.)
>
>From pip.log:
/usr/bin/pip run on Tue Nov 28 22:54:09 2017
apptools (4.2.1)
apt-xapian-index (0.47)
arandr (0.1.7.1)
argparse (1.2.1)
<snip>
pip (1.5.6)
Pivy (0.5.0)
ply (3.4)
Pmw (1.3.2)
pyalsaaudio (0.7)
pyasn1 (0.1.7)
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
The line breaks of the error messages are mangled but I hope it makes
sense.
>>Running Python scripts has worked without issues so far.
>
> Fingers crossed.
Indeed.
/Martin
More information about the Python-list
mailing list