kali installation install pip for python2 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: install pip kali
$ sudo apt install python-pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python get-pip.py
$ sudo apt install python-pip