linux - Install python-pip on Ubuntu 14.04.2 Issue -
attempting install python-pip on fresh ubuntu 14.04.2 vm.
sudo apt-get update sudo apt-get install python-pip
the error indicates basic libc
package can't found:
err http://archive.ubuntu.com/ubuntu/ trusty-security/main linux-libc-dev amd64 3.13.0-52.86 404 not found [ip: 91.189.91.15 80] fetched 26.1 mb in 4s (5918 kb/s) e: failed fetch http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3.13.0-52.86_amd64.deb 404 not found [ip: 91.189.91.15 80]
and indeed, hitting url listed browser throws 404.
same issue happens when trying install python-dev
, python3-pip
.
what's workaround?
edit - solved
the problem building vm using vagrant , docker.
the run sudo apt-get update
step in dockerfile cached reason, meaning being skipped. consequently, python-pip
looking outdated dependency.
i'm in virtualenv, had this:
pip install --upgrade pip
now virtualenv date - didn't have mess rest of ubuntu's pip on system. best way go, given how old ubuntu's , not wanting mess packaging system.
Comments
Post a Comment