close

[Solved] Unable to locate package python-pip Ubuntu 20.04

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

Today I get the following error Unable to locate package python-pip Ubuntu 20.04 in Python.

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

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

    To Solve Unable to locate package python-pip Ubuntu 20.04 Error Put python3 instead ${PYPKG} in line 202, and instead python-pip in line 596 in file install.sh of mininet-wifi.

Solution 1

In my case, the curl command for downloading get-pip.py gave a syntax error on running sudo python get-pip.py.

But manual download by visiting https://bootstrap.pypa.io/ and downloading get-pip.py worked fine for me.

Solution 2

Put python3 instead ${PYPKG} in line 202, and instead python-pip in line 596 in file install.sh of mininet-wifi.

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

Leave a Comment