- Ubuntu 12.04
- Python 2.7
- apt 0.8.16~exp12ubuntu10.17 for amd64 compiled on Jun 13 2014 17:42:13
When I run sudo apt-get install python-pip It installs a a very old version.
$ pip --version
pip 1.0 from /usr/lib/python2.7/dist-packages (python 2.7)
This has caused me all sorts of problems as that version of pip has trouble locating many packages.
When I try to install the latest version 1.5.6 via apt-get It wont locate it.
[$ sudo apt-get install python-pip=1.5.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.5.6' for 'python-pip' was not found][2]
NOTE: I have previously run apt-get update and apt-get update
When I try to install pip by executing sudo python get-pip.py I get
$ python get-pip.py
Downloading/unpacking pip
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement pip
Cleaning up...
No distributions at all found for pip
Storing debug log for failure in /home/user/.pip/pip.log
I believe this is because of some issues with the Ubuntu VM proxy settings which I can get resolved later in the week.
Preferably I just want to install a recent version of pip via apt-get but I am open to any solution.
Any help is much appreciated