install pip2 code example

Example 1: how to install pip in ubuntu

sudo apt install python3-pip

Example 2: install pip

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

Example 3: install pip ubuntu

sudo apt-get update

sudo apt install python3-pip

Example 4: pip install

python get-pip.py

Example 5: pip install python 3

python -m pip install <package>

#Download Selenium
python -m pip install selenium

Example 6: how to install pip ubuntu python2

pip2 --version