[Distutils] Multiple pips to go along with my multiple Pythons

Robert Collins robertc at robertcollins.net
Thu May 7 05:16:43 CEST 2015


On 7 May 2015 at 13:16, Skip Montanaro <skip.montanaro at gmail.com> wrote:
> I try to maintain several built and installed versions of Python,
> currently 2.6, 2.7, 3.2, 3.3, 3.4 and 3.5alpha, all built from the
> tips of their respective branches in Mercurial.
>
> What's the correct/best way to keep pip up-to-date for all those
> versions? 2.7, 3.4 and 3.5 have ensurepip, but I think that just makes
> sure you have pip, not that there is a version associated with a
> specific version of Python, right? Do I just download the latest
> tarball and run "PY setup.py install" for each version of PY?

python -m pip install -U pip

will update pip on Windows or *nix, using the current pip.

If you don't have a pip at all, then yes, download + python setup.py
install in the pip tree.

-Rob


-- 
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Converged Cloud


More information about the Distutils-SIG mailing list