[Distutils] The future of invoking pip

Chris Barker chris.barker at noaa.gov
Mon Nov 9 18:28:33 EST 2015


On Sat, Nov 7, 2015 at 3:53 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:

> Well, the problem is that "python -m pip" isn't any better. If you
> don't know what the current "pip" is, then chances are you don't know
> what the current "python" is, either.
>

sure you do (well, maybe not, but all you know is that when you type
"python" you get soemthing).

the problem really is when someone does:

pip install some_package

and it all seems to work fine

then they type "python" and "import some_package" and it fails.


This really does happend with newbies, and it really is a problem, trust me
on that.

granted, it's also a problem that people type "python" and can import what
they want, then they go to run their code in an IDE, and it doesn't work --
but that's not a problem pip can address ----..

(I'm not trying to deny the issue, I sometimes wonder what "pip" will
> install into exactly, but removing the command in favour of a "-m"
> switch wouldn't do any any good IMO, and it would make Python package
> management "even more baroque" than it currently is)
>

only minimally more baroque, and at least one large class of confusing
errors would be impossible.

-CHB



-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20151109/8ed9f7c3/attachment.html>


More information about the Distutils-SIG mailing list