installing pip for python 2.7 code example

Example 1: python install pip

python get-pip.py

Example 2: pip install for python 2 and python3

$ curl -O https://bootstrap.pypa.io/get-pip.py
$ sudo python3.2 get-pip.py

Example 3: install pip3 for python 3.7

sudo apt install python3-pip

Example 4: pip install python

"""to install a python module just use pip command"""
"""open cmd as administrator and write this command"""
pip install 
"""for ex. pip install pandas"""
##before writing command first change environment variable to your pip file location

Tags:

Misc Example