Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

facing problem in kali linuix python3-pip

Tags:

python

package

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.

like image 672
deepu Avatar asked Jan 26 '20 20:01

deepu


People also ask

How install pip3 in Kali Linux?

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.

Does pip works for python3?

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.

How do I use PIP on Kali Linux?

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.

How to install Python 3 on Kali Linux?

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 and install PIP3 on Linux?

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.

Why can't I install python3-pip?

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.


2 Answers

Try these commands

sudo apt-get update
sudo apt-get upgrade
sudo apt install python3-pip
like image 105
Ruslan Avatar answered Oct 24 '22 03:10

Ruslan


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

like image 32
vivekascoder Avatar answered Oct 24 '22 04:10

vivekascoder