installing pip for python3 code example
Example 1: installing pip
python -m pip install --upgrade pip
Example 2: install pip3
sudo apt install python3-pip
Example 3: install pip3 for python 3.7
sudo apt install python3-pip
python -m pip install --upgrade pip
sudo apt install python3-pip
sudo apt install python3-pip