close

[Solved] Warning: pip is being invoked by an old script wrapper

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Warning: pip is being invoked by an old script wrapper in Python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Warning: pip is being invoked by an old script wrapper Error Occurs?

Today I get the following error Warning: pip is being invoked by an old script wrapper in Python.

How To Solve Warning: pip is being invoked by an old script wrapper Error ?

  1. How To Solve Warning: pip is being invoked by an old script wrapper Error ?

    To Solve Warning: pip is being invoked by an old script wrapper Error python -m pip install –upgrade –force-reinstall pip python3 -m pip install –upgrade –force-reinstall pip

Solution 1


I faced the same issue but on Windows. Reinstalling pip worked for me. You can force a reinstall of pip with:

python -m pip install --upgrade --force-reinstall pip

For Python3 Versions:

python3 -m pip install --upgrade --force-reinstall pip

Solution 2

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

Solution 3

You can solve it by upgrading pip:

pip install --upgrade pip

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also Read

Leave a Comment