pip install in ubuntu code example
Example 1: install pip ubuntu
sudo apt install python3-pip
Example 2: install pip ubuntu
sudo apt install python-pip
Example 3: install pip ubuntu
sudo apt-get update
sudo apt install python3-pip
Example 4: how to install pip ubuntu python2
curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py
Example 5: how to install pip ubuntu python2
sudo add-apt-repository universe