PIP Install on Windows

Kailash Chandra Behera | Thursday, June 25, 2020


In my previous article we say python down and how to install python on windows. This blogspot discusses what is pip, pip download, how to use pip and guides how to PIP Install on Windows.

Getting Started with PIP Install on Windows

By default, Python Standard Library does not contain additional packages which are required by Python to build application like web API, web application, and much more application in Python. Python introduces pip to manage and install additional packages that are not part of the Python Standard Library.

pip is nothing but a Package Manager tool for Python which allows us to install and manage the additional packages that are not included with Python Standard Library. It helps to manage those additional packages or libraries and dependencies that are not distributed in Python Standard Library.

If you are using Python 2 >=2.7.9 or Python 3 >=3.4 downloaded from python.org, then pip is already installed with Python Standard library. To check Python version, execute below code command in your command prompt.

 python --version  

You will have result like below from command prompt. I have already installed Python version 3.7.4 in my machine and got below result.

 Python 3.7.4  
python pip verify

Get version of Python

If you are new in Python and not installed it in your machine, then check my previous blog that guides How to Install Python on Windows.

To check the pip version installed in your machine execute the below command in command prompt.

 pip --version  
And you will have result like below. The pip is already installed with Python library version 3.7.4
 pip 19.0.3 from c:\users\kailash\appdata\local\programs\python\python37-32\lib\site-packages\pip (python 3.7).  
pip update all

Check pip version

Note that this demonstration is conducted in Microsoft Windows 10 and all the commands are only applicable to Microsoft Windows.

To Install pip in your machine, you must have downloaded the pip script file in your machine, to download pip script securely use below command in command prompt.

 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py  

Above command will download pip securely form official site then execute below command in your command prompt to install pip.

 python get-pip.py  

With the successfully installation, the above command also installs the setuptools and wheel.

PIP Install on Windows(setuptools)

setuptools is a collection of enhancements to the Python distutils that allow you to more easily build and distribute Python distributions, especially ones that have dependencies on other packages.

PIP Install on Windows(wheel)

Primarily, the wheel project offers the bdist_wheel setuptools extension for creating wheel distributions. Additionally, it offers its own command-line utility for creating and installing wheels.

Note that The get-pip.py script is supported on the python version 2 >=2.7.9 or Python 3 >=3.4 as pip. For the unsupported Python 2.6, alternate script is available here.

Related Articles

  1. How to install pyodbc window
  2. Installing Python
  3. Overview of Python