install python 2.7 on kali 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