[Python-ideas] Looking for input to help with the pip situation
Paul Moore
p.f.moore at gmail.com
Tue Nov 7 16:26:38 EST 2017
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
<grab the -X.Y argument>
exec pythonX.Y $@
relying on the existence of versioned executables on Unix. (Excuse my
garbled don't-really-know-how-to-do-it shell scripting...)
Paul
More information about the Python-ideas
mailing list