Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #65912

Re: pip3.x error using LIST instead of list

References <lddb0e$410$1@ger.gmane.org> <20140211152730.3b99d350@hanez.org>
Date 2014-02-12 01:41 +1100
Subject Re: pip3.x error using LIST instead of list
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.6672.1392129685.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Feb 12, 2014 at 1:27 AM, Johannes Findeisen <mailman@hanez.org> wrote:
> Hi, I get the same error with an older release of pip. But, I get that
> error regardless which uppercase argument I am passing to pip. Look
> below:
>

Correct. The exception is thrown before it's looked at what the
subcommand is; it happens any time the argument != argument.lower().
Simple work-around: always type subcommands in lower-case :)

Much easier work-around than for some bugs I've seen. Like, printing
from Win-OS/2 requires holding the print queue, printing your
document, adding a second job from a smarter print client, then
releasing the print queue so both jobs go through in succession. This
one, the work-around is just "do what you'd normally do anyway".

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: pip3.x error using LIST instead of list Chris Angelico <rosuav@gmail.com> - 2014-02-12 01:41 +1100

csiph-web