2

A base docker image I am working with is a relic using python 2.6.6 ..

So how can I install pip on this system - given the long obsolescence of the python version and the lack of availability of tools even to upgrade to newer versions.

Update I had already gone through all of the options in the other question How to install pip for python 2.6?.

In general 2.6 is so out of date there are no easy answers to be found. I am looking for someone who has an approach even with the long period since this version was obsoleted.

WestCoastProjects
  • 58,982
  • 91
  • 316
  • 560
  • 3
    Does this answer your question? [How to install pip for python 2.6?](https://stackoverflow.com/questions/24294467/how-to-install-pip-for-python-2-6) – Silvio Mayolo Mar 23 '22 at 03:52
  • 1
    I'll +1 this because it made me chuckle – Silvio Mayolo Mar 23 '22 at 03:53
  • 2
    I'll -1 this because it is rude and condescending... Plus it has been both asked and answered here before. – Obsidian Age Mar 23 '22 at 03:55
  • 2
    @SilvioMayolo I had already gone through all of the options in that answer: the _get-pip_ link is 404, and the other options do not work – WestCoastProjects Mar 23 '22 at 04:07
  • 2
    @ObsidianAge I'm sorry you take it that way - the wording is not directed at any one person and the tone was intended as light sarcasm but not biting. You cannot tell that given the limited context . The docker image is a relic : these things happen at big companies, but that was not intended to be a criticism of anyone. – WestCoastProjects Mar 23 '22 at 04:09
  • https://bootstrap.pypa.io/pip/ , https://bootstrap.pypa.io/pip/2.6/get-pip.py – phd Mar 23 '22 at 08:30
  • @phd Please make that an answer – WestCoastProjects Mar 23 '22 at 15:42

1 Answers1

2

The structure of the site was changed. Pip is now under subdirectory pip. Pip for Python 2.6 is at https://bootstrap.pypa.io/pip/2.6/get-pip.py

phd
  • 82,685
  • 13
  • 120
  • 165