Solve the pip upgrade problem

pip show pip has the following problems

  • WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see
    https://github.com/pypa/pip/issues/5599 for advice on fixing the
    underlying issue. To avoid this problem you can invoke Python with
    ‘-m pip’ instead of running pip directly

Delete directly

  • python -m pip uninstall pip

Update

  • pip install --upgrade pip

Guess you like

Origin blog.csdn.net/weixin_44110913/article/details/109533700