[Distutils] Installing packages using pip

Alexander Walters tritium-list at sdamon.com
Fri Nov 13 14:58:01 EST 2015


import pip
pip.install(PACKAGESPEC)

something like that?

On 11/13/2015 12:42, Chris Barker wrote:
> On Fri, Nov 6, 2015 at 8:06 AM, Paul Moore <p.f.moore at gmail.com 
> <mailto:p.f.moore at gmail.com>> wrote:
>
>     That's the correct command, but you need to run it from the Windows
>     command prompt, not from within IDLE.
>
>
> Now that we are talking about how to invoke the installer on other 
> threads...
>
> This is NOT the least bit a rare mistake for newbies. Maybe we should 
> have a way to install right from inside the python REPL.
>
> That would certainly clear up the "which python is this going to get 
> installed into" problem.
>
> -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 <mailto:Chris.Barker at noaa.gov>
>
>
> _______________________________________________
> 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/20151113/6b9d3219/attachment.html>


More information about the Distutils-SIG mailing list