Sometimes you may need to upgrade or downgrade PIP based on your requirements. In this tutorial episode, I will explain you the steps to upgrade PIP in Windows from scratch.
Here are the topics to be reviewed:
Upgrade PIP in Windows
Check the version of PIP
#upgrade pip
#update pip
#update pip in python
How to upgrade the current version of 'pip' on your PC?
1) First, open Command Prompt (Search 'cmd'). Then, type 'cd/' to ensure that your path is in C:/ drive only.
2) Find the location of Python Software in your PC. Right-click on Python shell or IDLE, and click 'Open File Location'. It may then show a shortcut file of Python shell/IDLE. Again right-click on the file and click 'Open file Location'.
3) Copy the file location, and paste in Command Prompt. The copy-pasted version includes 'C:/' at the start of the text. Delete 'C:/' and type 'cd'. Don't forget to keep a space between 'cd' and the path. Hit Enter.
4) Type 'python -m pip install --upgrade pip'. This will upgrade your pip version. You should have an internet connection. Your pip version will be upgraded in few seconds to the latest version. (If this does not work, then try "python -m pip install --user --upgrade pip". It should work).
5) To check your current version of pip in your PC, type 'pip --version' on your command prompt, and hit Enter. Your current pip version will be displayed.
Why upgrade pip?
To install various packages of python (such as numpy, scipy, etc.,) sometimes the latest version of pip is needed. Otherwise you won't be able to install the packages.
How to install "SciPy" packages in Windows?
SciPy packages can be very easily installed in Windows 7/8/10 via command prompt.
Type 'python -m pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose' to install SciPy packages.
How to upgrade pip of Python in Windows
Теги
upgrade pippython pip upgradehow to update pipeasy update pippip python upgradeupdgrade pip on windowswindows pip upgradehow to upgrade windows pipcommand to upgrade pippip easy update commandhow to upgrade pip for pythonpythonpython pathpython install pipfix python pippip fixpip updateto upgrade pippython pip ugrade with few minspip upgrade tutorialpython pip tutorial to upgradepython -m pip install --upgrade pip--upgrade pip