sudo apt-get -y install python3-pip
# python 2
sudo apt install python-pip
# python 3
sudo apt install python3-pip
curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py
alias pip=pip3
sudo python2 get-pip.py
pip2 --version
sudo apt update sudo apt install python2