install python for kali linux code example
Example: python2 pip install kali
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python get-pip.py
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python get-pip.py