install pip sudo code example
Example 1: how to install pip ubuntu python2
sudo apt update sudo apt install python2
Example 2: install pip ubuntu
sudo apt update
Example 3: sudo pip3 install
[server]$ pip3 --version
pip 18.1 from /home/username/opt/python-3.6.2/lib/python3.6/site-packages/pip (python 3.6)