Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (16.4k points)

Alright so I am an all out noob and I just introduced Kali Linux. I'm attempting to install python-pip by command 

apt-get install python-pip

I'm getting this kind of output:

Reading package lists... Done

  Building dependency tree       

  Reading state information... Done

  E: Unable to locate package python-pip

I also checked my source /ect/apt/souces, where it says

deb http://http.kali.org/kali kali-last-snapshot main non-free contrib

I've executed apt-get refreshes a few times as well and it's not making a difference. If it's not too much trouble, help. 

1 Answer

0 votes
by (26.4k points)

There is a high possibility python-pip isn't accessible, in light of the fact that 'python' is python2, and python2 is at long last dead. Attempt to install python3-pip

There is a show that python without '3' is python2, and it's going to last like that, I think, everlastingly, because of compatibility reasons.

Join the python course fast, to learn python concepts in detail and get certified.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...