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


Groups > comp.lang.python > #65909

Re: pip3.x error using LIST instead of list

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <mailman@hanez.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'subject:error': 0.03; 'argument': 0.05; '(python': 0.07; 'error:': 0.07; 'lawrence': 0.09; 'subject:using': 0.09; 'valueerror:': 0.09; 'bug': 0.12; '1.5.2': 0.16; 'uppercase': 0.16; 'wrote:': 0.18; 'passing': 0.19; 'command': 0.22; 'feb': 0.22; '+0000': 0.22; 'error': 0.23; 'skip:l 30': 0.24; 'regardless': 0.24; 'skip:" 30': 0.26; 'skip:" 40': 0.26; 'skip:" 20': 0.27; 'header:In-Reply-To:1': 0.27; 'raise': 0.29; 'subject:list': 0.30; "skip:' 10": 0.31; 'file': 0.32; 'skip:c 30': 0.32; '(most': 0.33; 'older': 0.33; 'skip:_ 10': 0.34; 'skip:" 50': 0.36; 'charset:us-ascii': 0.36; 'hi,': 0.36; 'should': 0.36; 'list': 0.37; 'to:addr:python-list': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'received:org': 0.40; 'release': 0.40; 'received:unknown': 0.61; 'course': 0.61; 'details': 0.65; 'below:': 0.68; 'subject': 0.69; 'below.': 0.71; 'received:109': 0.72; 'skip:/ 30': 0.84; 'received:(helo localhost)': 0.91
Date Tue, 11 Feb 2014 15:27:30 +0100
From Johannes Findeisen <mailman@hanez.org>
To python-list@python.org
Subject Re: pip3.x error using LIST instead of list
In-Reply-To <lddb0e$410$1@ger.gmane.org>
References <lddb0e$410$1@ger.gmane.org>
X-Mailer Claws Mail 3.9.3 (GTK+ 2.24.22; x86_64-pc-linux-gnu)
MIME-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.6669.1392128859.18130.python-list@python.org> (permalink)
Lines 49
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1392128859 news.xs4all.nl 2867 [2001:888:2000:d::a6]:58993
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:65909

Show key headers only | View raw


On Tue, 11 Feb 2014 14:10:32 +0000
Mark Lawrence wrote:

> As the subject line says, details below.
> 
> c:\Python34\Scripts>pip3.4 LIST
> Traceback (most recent call last):
>    File "C:\Python34\lib\runpy.py", line 189, in _run_module_as_main
>      "__main__", mod_spec)
>    File "C:\Python34\lib\runpy.py", line 87, in _run_code
>      exec(code, run_globals)
>    File "c:\Python34\Scripts\pip3.4.exe\__main__.py", line 9, in <module>
>    File "C:\Python34\lib\site-packages\pip\__init__.py", line 177, in main
>      cmd_name, cmd_args = parseopts(initial_args)
>    File "C:\Python34\lib\site-packages\pip\__init__.py", line 156, in 
> parseopts
>      cmd_args.remove(args_else[0].lower())
> ValueError: list.remove(x): x not in list
> 
> Is this a known problem, should I raise a bug against pip, what is the 
> best course of action?

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:

hanez@phantom ~ % pip LIST     
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/pip", line 9, in <module>
    load_entry_point('pip==1.5.2', 'console_scripts', 'pip')()
  File "/usr/lib64/python2.7/site-packages/pip/__init__.py", line 177,
 in main cmd_name, cmd_args = parseopts(initial_args)
  File "/usr/lib64/python2.7/site-packages/pip/__init__.py", line 156,
 in parseopts cmd_args.remove(args_else[0].lower())
ValueError: list.remove(x): x not in list
hanez@phantom ~ % pip FOO 
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/pip", line 9, in <module>
    load_entry_point('pip==1.5.2', 'console_scripts', 'pip')()
  File "/usr/lib64/python2.7/site-packages/pip/__init__.py", line 177,
 in main cmd_name, cmd_args = parseopts(initial_args)
  File "/usr/lib64/python2.7/site-packages/pip/__init__.py", line 156,
 in parseopts cmd_args.remove(args_else[0].lower())
ValueError: list.remove(x): x not in list
hanez@phantom ~ % pip foo
ERROR: unknown command "foo"
hanez@phantom ~ % pip --version
pip 1.5.2 from /usr/lib64/python2.7/site-packages (python 2.7)
hanez@phantom ~ % 

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


Thread

Re: pip3.x error using LIST instead of list Johannes Findeisen <mailman@hanez.org> - 2014-02-11 15:27 +0100

csiph-web