[Python-ideas] Looking for input to help with the pip situation

Ivan Pozdeev vano at mail.mipt.ru
Tue Nov 7 17:06:00 EST 2017


On 08.11.2017 0:26, Paul Moore wrote:
> On 7 November 2017 at 20:38, Chris Barker <chris.barker at noaa.gov> wrote:
>> On Tue, Nov 7, 2017 at 5:04 AM, Thomas Jollans <tjol at tjol.eu> wrote:
>>> As Ivan said earlier, perhaps the Windows installers should provide a
>>> "python3" executable, so "python3 -m pip" works everywhere.
>> absolutely! I really, really thought it did!!!! (I'm amazed I never heard
>> from a single student getting bit by that...)
> On Windows, use py -X.Y to select the exact version of Python you
> want. Maybe Unix should have a launcher like this, too? It doesn't
> really need to be any more complex than
Native UNIX packages have been using `pythonX' and `pythonXY' for years, 
with incomplete names meaning "the latest installed version qualifying". 
This allows very convenient and reliable use in shebangs -- the script 
explicitly states which version it is written for (and even which 
installation, by specifying a full path - then even e.g. overriding 
`python' on PATH doesn't break system scripts).

-- 
Regards,
Ivan



More information about the Python-ideas mailing list