install pip3 ubuntu 18.04 code example Example 1: install pip ubuntu sudo apt install python3-pip Example 2: install pip ubuntu pip3 --version