close

[Solved] “E: Unable to locate package python3-pip”

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error “E: Unable to locate package python3-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 “E: Unable to locate package python3-pip” Error Occurs?

Today I get the following error “E: Unable to locate package python3-pip” in python.

How To Solve “E: Unable to locate package python3-pip” Error ?

  1. How To Solve “E: Unable to locate package python3-pip” Error ?

    To Solve “E: Unable to locate package python3-pip” Error Note that the Ubuntu 18.04 download today shipped with Python 3.6.8 installed. This may vary by the time of your reading this post.

  2. “E: Unable to locate package python3-pip”

    To Solve “E: Unable to locate package python3-pip” Error Note that the Ubuntu 18.04 download today shipped with Python 3.6.8 installed. This may vary by the time of your reading this post.

Solution 1

For Ubuntu 18.04 with python 3.6.5 the python-pip package will install after :

sudo add-apt-repository universe
sudo apt-get update

Which is enabling the category universe

deb http://archive.ubuntu.com/ubuntu bionic main universe
deb http://archive.ubuntu.com/ubuntu bionic-security main universe 
deb http://archive.ubuntu.com/ubuntu bionic-updates main universe

Solution 2

Following a clean install of Ubuntu 18.04 (via Vagrant) the following installed successfully with no issues:

  sudo apt-get update
  sudo apt-get install -y python3-pip

Note that the Ubuntu 18.04 download today shipped with Python 3.6.8 installed. This may vary by the time of your reading this post.

Summery

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? Thank You.

Also, Read