I am unable to locate package python-pip:
Reading package lists... Done
Building dependency tree Reading state information... Done
E: Unable to locate package python3-pip
How can I resolve this problem?
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 ...
Install pip using Python 3's setuptools: run sudo easy_install3 pip , this will give you the command pip-3.2 like kev's solution. Install your PyPI packages: run sudo pip-3.2 install <package> (installing python packages into your base system requires root, of course). … Profit!
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
Following a clean install of Ubuntu 18.04 (via Vagrant) the following was 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With