pip install –upgrade pip

pip <span>install</span> <span>--upgrade</span> pip
Collecting pip
Downloading pip-9.0.1-py2.py3-none-any.whl <span>(</span>1.3MB<span>)</span>
100% |████████████████████████████████| 1.3MB 865kB/s
Installing collected packages: pip
Successfully installed pip-8.1.1
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the <span>'pip install --upgrade pip'</span> command.
pip <span>install</span> <span>--upgrade</span> pip
Collecting pip
  Downloading pip-9.0.1-py2.py3-none-any.whl <span>(</span>1.3MB<span>)</span>
    100% |████████████████████████████████| 1.3MB 865kB/s 
Installing collected packages: pip
Successfully installed pip-8.1.1
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the <span>'pip install --upgrade pip'</span> command.
pip install --upgrade pip Collecting pip Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB) 100% |████████████████████████████████| 1.3MB 865kB/s Installing collected packages: pip Successfully installed pip-8.1.1 You are using pip version 8.1.1, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command.

Enter fullscreen mode Exit fullscreen mode

~ pip <span>-V</span>
pip 9.0.1 from /home/vagrant/.local/lib/python2.7/site-packages <span>(</span>python 2.7<span>)</span>
~ pip <span>-V</span>
pip 9.0.1 from /home/vagrant/.local/lib/python2.7/site-packages <span>(</span>python 2.7<span>)</span>
~ pip -V pip 9.0.1 from /home/vagrant/.local/lib/python2.7/site-packages (python 2.7)

Enter fullscreen mode Exit fullscreen mode

~ python2
Python 2.7.12 <span>(</span>default, Nov 19 2016, 06:48:10<span>)</span>
<span>[</span>GCC 5.4.0 20160609] on linux2
Type <span>"help"</span>, <span>"copyright"</span>, <span>"credits"</span> or <span>"license"</span> <span>for </span>more information.
<span>>>></span>
  ~ python2
Python 2.7.12 <span>(</span>default, Nov 19 2016, 06:48:10<span>)</span> 
<span>[</span>GCC 5.4.0 20160609] on linux2
Type <span>"help"</span>, <span>"copyright"</span>, <span>"credits"</span> or <span>"license"</span> <span>for </span>more information.
<span>>>></span> 
~ python2 Python 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>

Enter fullscreen mode Exit fullscreen mode

~ python3
Python 3.5.2 (default, Sep 14 2017, 22:51:06)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
  ~ python3
Python 3.5.2 (default, Sep 14 2017, 22:51:06) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 
~ python3 Python 3.5.2 (default, Sep 14 2017, 22:51:06) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>>

Enter fullscreen mode Exit fullscreen mode

原文链接:pip install –upgrade pip

© 版权声明
THE END
喜欢就支持一下吧
点赞11 分享
The questions you ask determine the quality of your life.
你生活的品质取决于你所提出的问题
评论 抢沙发

请登录后发表评论

    暂无评论内容