0

My Fresh kali Linux install doesn't find pip and so i can't run my scripts. So here is what i tried:

kali# pip -V
Command not found

kali# whereis pip 
pip:

kali# locate pip | grep /usr/bin
/usr/bin/lesspipe
/usr/bin/pipal

kali# apt-search python-pip
python-pip-whl

kali# apt install python-pip-whl
python-pip-whl is already installed

I also tried to add ubuntu repos with the package python-pip. But didn't work. Sooo….yeah. Nothing really helps. Can somebody plz help me? I use kali for like one year and this is the first time this happens to me :D What am i missing? Somebody can explain to me? Thx in Advance.

4

Python 2 went end-of-life on January 1, 2020. According to this article, Debian (and Kali as a downstream consumer) will be removing Python 2 packages. While Python 2 pip is not explicitly discussed, it's entirely likely that's why you can't find it.

Instead, you can apt install python3-pip and use pip3 to install packages for any coding you do, which should be in Python 3 rather than Python 2.

1
  • Thx a lot!.. My bad :) – Lukas Räpple Apr 24 '20 at 19:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy