Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #65909 > unrolled thread
| Started by | Johannes Findeisen <mailman@hanez.org> |
|---|---|
| First post | 2014-02-11 15:27 +0100 |
| Last post | 2014-02-11 15:27 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: pip3.x error using LIST instead of list Johannes Findeisen <mailman@hanez.org> - 2014-02-11 15:27 +0100
| From | Johannes Findeisen <mailman@hanez.org> |
|---|---|
| Date | 2014-02-11 15:27 +0100 |
| Subject | Re: pip3.x error using LIST instead of list |
| Message-ID | <mailman.6669.1392128859.18130.python-list@python.org> |
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 top | Article view | comp.lang.python
csiph-web