install python2 pip kali code example
Example 1: python2 pip install kali
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python get-pip.py
Example 2: how to install pip2 in kali linux
sudo apt install python3-pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python get-pip.py
sudo apt install python3-pip