代码改变世界

pip升级:pip3 install --upgrade pip

2022-07-20 17:08  改改~_~  阅读(1111)  评论(0编辑  收藏  举报
You are using pip version 18.1, however version 22.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(base) localhost:/ ligaijiang$ pip install --upgrade pip3   -bash: pip: command not found
(base) localhost:/ ligaijiang$ pip3 install --upgrade pip   #升级
Collecting pip 
  Using cached https://files.pythonhosted.org/packages/96/2f/caec18213f6a67852f6997fb0673ae08d2e93d1b81573edb93ba4ef06970/pip-22.1.2-py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 18.1
    Uninstalling pip-18.1:
      Successfully uninstalled pip-18.1
Successfully installed pip-22.1.2