python-pip package not found on ubuntu 15.04 running as live usb
8,838
python-pip
package is available in the universe
repository but your /etc/apt/sources.list
does not contain the entry for the universe
repository, as a result you will not be able to download anything from that repo unless you add it.
To add the universe
repo to your /etc/apt/sources.list
, run:
echo "deb http://archive.ubuntu.com/ubuntu/ vivid universe" | sudo tee -a "/etc/apt/sources.list"
If you are interested in source files, then add this too:
echo "deb-src http://archive.ubuntu.com/ubuntu/ vivid universe" | sudo tee -a "/etc/apt/sources.list"
Run sudo apt-get update
and now you can install python-pip
by:
sudo apt-get install python-pip
Related videos on Youtube
Author by
Paul Rooney
Updated on September 18, 2022Comments
-
Paul Rooney over 1 year
I'm trying to install
python-pip
usingapt-get
on ubuntu 15.04, but I get an error saying it's not found.ubuntu@ubuntu:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 15.04 Release: 15.04 Codename: vivid ubuntu@ubuntu:~$ sudo apt-get install python-pip Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package python-pip ubuntu@ubuntu:~$
According to launchpad it should exist.
https://launchpad.net/ubuntu/vivid/+source/python-pip
My
/etc/apt/sources.list
looks likeubuntu@ubuntu:~$ sudo cat /etc/apt/sources.list deb cdrom:[Ubuntu 15.04 _Vivid Vervet_ - Release amd64 (20150422)]/ vivid main restricted deb http://archive.ubuntu.com/ubuntu/ vivid main restricted deb http://security.ubuntu.com/ubuntu/ vivid-security main restricted deb http://archive.ubuntu.com/ubuntu/ vivid-updates main restricted
Any ideas?
-
heemayl almost 9 yearsRun
sudo apt-get update
and then try again.. -
Paul Rooney almost 9 yearsTried that already.
-
heemayl almost 9 yearsIts in the universe repo..do you have it enabled in
sources.list
? -
Paul Rooney almost 9 yearsI'm running off a live usb until I get a new hard drive. That might be the issue. The source.list file doesn't seem complete to me now that I look at it.
-
heemayl almost 9 yearsCheck my answer..
-