[Distutils] Installing packages using pip
Chris Barker - NOAA Federal
chris.barker at noaa.gov
Sun Nov 15 15:25:04 EST 2015
How it works in the terminal is less important to me than how it works in
IDLE though; being able to teach how to use Python through IDLE (deferring
discussion of terminals etc) is useful for introductory programming classes.
Personally, I don't use IDLE for teaching, but do use iPython. But if we
have a way to call pip from a Python REPL, it really should work in the
standard REPL. Though still a good idea to have IDLE specific and iPython
specific ways to install packages within those environments. I like the
%pip
Idea for iPython -- and I'm pretty sure the kernel can be restarted.
Certainly in a notebook.
As for the plain REPL, maybe a warning that you need to restart after an
upgrade would be enough.
Though I suspect that Window's aggressive file locking will put the kibosh
on in-place upgrades :)
CHB
--
Oscar
_______________________________________________
Distutils-SIG maillist - Distutils-SIG at python.org
https://mail.python.org/mailman/listinfo/distutils-sig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20151115/4b046fa3/attachment.html>
More information about the Distutils-SIG
mailing list