Unable to install pip in Docker running Ubuntu version 14.04. See below log.
root@57da7dd8a590:/usr/bin# apt-get install pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pip
root@57da7dd8a590:/usr/bin#
Did you do apt-get update
before that?
And then
apt-get -y install python-pip
This is my Dockerfile. You would try it:
FROM ubuntu:14.04
MAINTAINER Storozhenko Roman <[email protected]>
ENV REFRESHED_AT 2015-03-16
RUN apt-get -yqq update
RUN apt-get install -yqq python
RUN apt-get -yqq install python-pip
Your are using the wrong package. You can install pip
in Ubuntu 14.04 with
apt-get install python-pip
If youre searching for something you can use
aptitude search pip
or the Website http://packages.ubuntu.com
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