-2

There is an error : it says there is no install candidate for python3-pip

enter image description here

gokul_uf
  • 740
  • 1
  • 8
  • 21
Ethem Can
  • 53
  • 1
  • 1
  • 6

2 Answers2

6

First you should check if pip3 is installed on your system . To do so run the following :

pip3 --version

if it's already installed you should get something like :

pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)

in this case pip3 is already installed and you don't need to do anything .

Otherwise python3-pip Package is in kali-rolling repos , And to install it you need to make sure you have kali-rolling enabled in your /etc/apt/sources.list , by running following in your terminal :

echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" | sudo tee /etc/apt/sources.list

apt update && apt upgrade 

then finally you can install python3-pip by running :

apt install python3-pip 

This should get python3-pip installed on your kali machine

If for some weird reason this didn't work for you and you needed a quick way to install pip3 on your machine you can download this file : get-pip

Then run this in your terminal :

cd ~/Downloads 

python3 get-pip.py

This should get pip3 installed on your machine , you can check by running pip3 --version

WaLid LamRaoui
  • 2,305
  • 2
  • 15
  • 33
1

What about adding this ppa repo and updating the OS? also be sure your kali install in connected to internet.

sudo apt-get install software-properties-common sudo add-apt-repository ppa:deadsnakes/ppa sudo apt-get update sudo apt-get install python3.6

Daniel_j_iii
  • 3,041
  • 2
  • 11
  • 27