pip install pytho3 code example
Example 1: install pip3
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)