install pip3 as pip code example
Example 1: install pip in ubtunut
sudo apt install python3-pip
Example 2: 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)
sudo apt install python3-pip
[server]$ pip3 --version
pip 18.1 from /home/username/opt/python-3.6.2/lib/python3.6/site-packages/pip (python 3.6)