[arch-general] Pip2 commands throw error [Solved]
Squall Lionheart
headmastersquall at gmail.com
Tue Aug 27 10:48:05 EDT 2013
On Wed, Aug 21, 2013 at 9:42 AM, Squall Lionheart <
headmastersquall at gmail.com> wrote:
> On Sat, Aug 17, 2013 at 3:01 AM, Felix Yan <felixonmars at gmail.com> wrote:
>
>> On Friday, August 16, 2013 14:49:49 Squall Lionheart wrote:
>> > Hello,
>> >
>> > Since upgrading to version 1.4.1 in July of python2-pip, I have been
>> > receiving this Exception on the commands I execute. Received an update
>> to
>> > version 1.4.1-1 today and the error persists. This is a desktop machine
>> > and I get the same error on a server running Parabola. I tried a manual
>> > install of pip-1.4.1 and distribute on Slackware and everything runs as
>> it
>> > should. Have not tried the manual install on Arch yet since I would
>> prefer
>> > to use the packaged versions.
>> >
>> > Please help.
>> >
>> > $ pip2 list
>> > caatinga (1.0.1)
>> > clojure-py (0.2.4)
>> > distribute (0.6.28)
>> > Fabric (1.7.0)
>> > git-remote-helpers (0.1.0)
>> > logilab-astng (0.24.3)
>> > logilab-common (0.60.0)
>> > netsnmp-python (1.0a1)
>> > paramiko (1.11.0)
>> > pep8 (1.4.6)
>> > pip (1.4.1)
>> > pycrypto (2.6)
>> > pylint (0.28.0)
>> > python-libtorrent (0.16.10)
>> > Exception:
>> > Traceback (most recent call last):
>> > File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 134,
>> in
>> > main
>> > status = self.run(options, args)
>> > File "/usr/lib/python2.7/site-packages/pip/commands/list.py", line
>> 80, in
>> > run
>> > self.run_listing(options)
>> > File "/usr/lib/python2.7/site-packages/pip/commands/list.py", line
>> 127,
>> > in run_listing
>> > self.output_package_listing(installed_packages)
>> > File "/usr/lib/python2.7/site-packages/pip/commands/list.py", line
>> 136,
>> > in output_package_listing
>> > if dist_is_editable(dist):
>> > File "/usr/lib/python2.7/site-packages/pip/util.py", line 347, in
>> > dist_is_editable
>> > req = FrozenRequirement.from_dist(dist, [])
>> > File "/usr/lib/python2.7/site-packages/pip/__init__.py", line 194, in
>> > from_dist
>> > assert len(specs) == 1 and specs[0][0] == '=='
>> > AssertionError
>> >
>> > Storing complete log in /home/squall/.pip/pip.log
>> >
>> >
>> > The contents of pip.log are the same as the error output.
>> >
>> >
>> > Thank you
>> >
>> > Squall
>>
>> Same for me when using python2-distribute 0.6.45-1, but after upgrading
>> to testing/python2-setuptools 0.9.8-1 the error was gone.
>>
>> Regards,
>> Felix Yan
>
>
> Upgraded today to python2-setuptools 0.9.8-1 from extra and still get the
> same errors. Tried removing and reinstalling the python2-pip package and
> that had no affect.
>
>
>
It appears that I had a version of distribute that was manually installed.
After removing it, the pip2 commands work as expected.
More information about the arch-general
mailing list