Install Python Pip3

Make sure you have Python3+ install before you try below commands.

How to update python to python 3.8
In this post, I will show you how you can update or install Python 3.8 on Linux. Let us first download the Python 3.8 tar file. wget https://www.python.org/ftp/python/3.8.3/Python-3.8.3.tgz Now do following steps to configure the Python 3.8 tar -xvf Python-3.8.3.tgz cd Python-3.8.3 ./configure --…

Do following to get pip.

sudo apt update
sudo apt install python3-pip

Once pip is installed check pip version...

pip3 --version
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

Install Python Pip2

Run following commands...

sudo apt update
sudo apt install python-pip

Check Pip version...

pip --version
pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)