"E: Unable to locate package python-pip" on Ubuntu 18.04 [duplicate] "E: Unable to locate package python-pip" on Ubuntu 18.04 [duplicate] python python

"E: Unable to locate package python-pip" on Ubuntu 18.04 [duplicate]


ls /bin/python*

Identify the highest version of python listed.If the highest version is something like python2.7 then install python2-pipIf its something like python3.8 then install python3-pip

Example for python3.8:

sudo apt-get install python3-pip


Try following command sequence on Ubuntu terminal:

sudo apt-get install software-properties-commonsudo apt-add-repository universesudo apt-get updatesudo apt-get install python-pip


Try the following commands in terminal, this will work better:

apt-get install curlcurl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.pypython get-pip.py