<div dir="ltr">I want to update pip, but Ubuntu said to me that it's latest version. So should I install python-3 or more, instead of python 2.7?<div><br></div><div><div>root@ubuntu-1110:~/workspace/openstack/keystone# pip --version                 </div><div>pip 1.0 from /usr/lib/python2.7/dist-packages (python 2.7)</div><div>root@ubuntu-1110:~/workspace/openstack/keystone# apt-get install python-pip    </div><div>Reading package lists... Done</div><div>Building dependency tree       </div><div>Reading state information... Done</div><div>python-pip is already the newest version.</div><div>0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded.</div><div>root@ubuntu-1110:~/workspace/openstack/keystone# </div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-06 2:47 GMT+08:00 Robert Collins <span dir="ltr"><<a href="mailto:robertc@robertcollins.net" target="_blank">robertc@robertcollins.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Caused by using an old version of pip. The minimum we support at the<br>
moment is 7.1<br>
<br>
-Rob<br>
<div><div class="h5"><br>
On 5 March 2016 at 22:19, yewgang <<a href="mailto:batmanustc@gmail.com">batmanustc@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> Is this caused by syntax error of requirements.txt in Keystore or some else?<br>
> Thank you for help.<br>
><br>
> # pip install -r requirements.txt<br>
> Exception:<br>
> Traceback (most recent call last):<br>
>   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126, in<br>
> main<br>
>     self.run(options, args)<br>
>   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 200,<br>
> in run<br>
>     for req in parse_requirements(filename, finder=finder, options=options):<br>
>   File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1257, in<br>
> parse_requirements<br>
>     req = InstallRequirement.from_line(line, comes_from)<br>
>   File "/usr/lib/python2.7/dist-packages/pip/req.py", line 98, in from_line<br>
>     return cls(req, comes_from, url=url)<br>
>   File "/usr/lib/python2.7/dist-packages/pip/req.py", line 38, in __init__<br>
>     req = pkg_resources.Requirement.parse(req)<br>
>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2582, in<br>
> parse<br>
>     reqs = list(parse_requirements(s))<br>
>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2507, in<br>
> parse_requirements<br>
>     line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")<br>
>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2485, in<br>
> scan_list<br>
>     "Expected ',' or end-of-list in",line,"at",line[p:]<br>
> ValueError: ("Expected ',' or end-of-list in",<br>
> "Routes!=2.0,!=2.1,>=1.12.3;python_version=='2.7' # MIT", 'at',<br>
> ";python_version=='2.7' # MIT")<br>
><br>
> Storing complete log in /root/.pip/pip.log<br>
><br>
</div></div>> _______________________________________________<br>
> Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
> Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
> Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Robert Collins <<a href="mailto:rbtcollins@hpe.com">rbtcollins@hpe.com</a>><br>
Distinguished Technologist<br>
HP Converged Cloud<br>
</font></span></blockquote></div><br></div>