I am facing this problem:
sudo apt-get install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python3-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python3-pip' has no installation candidate
This is error I am facing
And I have try these commands apt-get update
&& apt-get upgrade
But problem isn't solved.
In order to install pip on Kali Linux, we have to open the terminal and type the below commands: $ sudo apt update. $ sudo apt install python3-pip.
this should theoretically work for any LINUX system. Show activity on this post. On Suse Linux 13.2, pip calls python3, but pip2 is available to use the older python version.
It can be installed on a Linux system and then used on the command line to download and install Python packages and their requisite dependencies. Python is a common language to use for hacking scripts, and on Kali Linux, the biggest use for pip would be to install needed dependencies for Python hacking programs.
Try running apt-get install python3-pip. This will install pip3 on your machine. After opening the editor paste the following line if not present. This should work for you. At-First Open Your sources.list File With any Editor. and add these Lines. Not Update and Upgrade Your Kali Linux Using These Commands.
How Do I Download Pip3 On Linux? Install pip3 on Ubuntu or Debian Linux by accessing an installed Terminal window and installing apt-get install python3-pip from there. Ubuntu users must use sudo yum install python3-pip in the Terminal to install this package.
Done Package python3-pip is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'python3-pip' has no installation candidate And I have try these commands apt-get update && apt-get upgrade But problem isn't solved.
Try these commands
sudo apt-get update
sudo apt-get upgrade
sudo apt install python3-pip
Now, I had faced that problem, and i know the exact cause.
So, After i've installed Kali 2020.2, i was not able to download any package including the python3-pip. After digging some research i found that the problem in my case was with the source repositories list. That are located in /etc/apt/sources.list
.
To fix this go to the sources.list file:
sudo nano /etc/apt/sources.list
And add these lines in the above sources.list file.
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
After that update your package list with.
sudo apt update
Then You'll be able to download any package including python3-pip.
sudo apt install python3-pip
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With