Warning: pip is being invoked by an old script wrapper

后端 未结 6 2085
半阙折子戏
半阙折子戏 2021-02-03 23:01

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 advi

6条回答
  •  孤城傲影
    2021-02-03 23:19

    I've encountered the same problem after I updated pip to 20.1.x version through Pycharm. I've found one way to ensure that you can use pip install xxx in emergency case:

    1. Open the folder containing pip (e.g. C:\Program Files\Python37\Lib in my win10 laptop)
    2. You may find two folders separately belongs to the old version pip and newly installed pip (e.g. ./pip19_xxx for your old one and ./pip for the newly installed one
    3. Delete the folder of the new version pip (e.g. ./pip)
    4. (IF NECESSARY) Change environment PATH in windows10
    5. Test pip install xxx or python -m pip install xxx in cmd, it should work by now

提交回复
热议问题