close

[Solved] Unable to locate package python-pip

Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to install python-pip with sudo apt install python-pip this command. But I am facing following error Unable to locate package python-pip in Python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Unable to locate package python-pip Error Occurs ?

I am trying to install python-pip with sudo apt install python-pip this command. But I am facing following error.

$ pip
Command ‘pip’ not found, but can be installed with:


sudo apt install python-pip

$ sudo apt install python-pip
[sudo] password for aiki:
Reading package lists…
Done Building dependency tree Reading state information… Done
C: Unable to locate package python-pip

How To Solve Unable to locate package python-pip Error ?

  1. How To Solve Unable to locate package python-pip Error ?

    To Solve Unable to locate package python-pip Error Just follow these command step by step: sudo apt-get install software-properties-common Then run this command: sudo apt-add-repository universe Now, sudo apt-get update Then sudo apt-get install python-pip Second solution is You just need to Identify version that installed in your System Use this command to find your installed version: ls /bin/python* If Python 2.X Installed then run This command: sudo apt-get install python2-pip If Python 3.X Installed then run This command: sudo apt-get install python3-pip Now your error should be solved.

  2. Unable to locate package python-pip

    To Solve Unable to locate package python-pip Error Just follow these command step by step: sudo apt-get install software-properties-common Then run this command: sudo apt-add-repository universe Now, sudo apt-get update Then sudo apt-get install python-pip Second solution is You just need to Identify version that installed in your System Use this command to find your installed version: ls /bin/python* If Python 2.X Installed then run This command: sudo apt-get install python2-pip If Python 3.X Installed then run This command: sudo apt-get install python3-pip Now your error should be solved.

Solution 1: Use this command

Just follow these command step by step.

sudo apt-get install software-properties-common

Then run this command.

sudo apt-add-repository universe

Now,

sudo apt-get update

Then

sudo apt-get install python-pip

Now your error should be solved.

Solution 2: Identify version that installed in your System

You just need to Identify version that installed in your System Use this command to find your installed version.

ls /bin/python*

If Python 2.X Installed then run This command.

sudo apt-get install python2-pip

If Python 3.X Installed then run This command.

sudo apt-get install python3-pip

Now your error should be solved.

Summary

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also, Read

Please Rate Our Solution to Motivate Us For Give Our Best

Leave a Comment