install pip in python2 code example
Example 1: install pip3
sudo apt install python3-pip
Example 2: how to install pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
#Once you do that, enter line 3 inside
python get-pip.py
sudo apt install python3-pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
#Once you do that, enter line 3 inside
python get-pip.py