Please follow the following steps to get pip for python2
sudo su apt update curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py python2 get-pip.py python2.7 -m pip install setuptools