[Python-Dev] Backporting ensurepip to 2.7, Which commands to install?

Nick Coghlan ncoghlan at gmail.com
Sat Oct 4 13:28:45 CEST 2014


On 4 October 2014 10:51, Donald Stufft <donald at stufft.io> wrote:
> Whoops, I misred.
>
> So to be clear, you think:
>
> install -> pip, pip2, pip2.7
> altinstall -> pip2.7

To spell out the assumption I didn't make clear when helping with the
backport PEP, the difference comes from PEP 394, which specifies the
following behaviour when installing Python itself:

Python 2.7: python, python2, python2.7
Python 3.4: python3, python3.4

That maps to ensurepip as:

Python 2.7: pip, pip2, pip2.7
Python 3.4: pip3, pip3.4

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list