Version of Python after 2.7.9 and 3.4 include pip by default. You no longer 
need to manually install it. They also set up the PATH variable so you can 
use it right away, but supplying the full path is still best if you aren't 
restarting the terminal session. As Rich mentioned you can use 'setx' if 
you want it setup for future sessions, or 'set' if you want it set up for 
the current session.

On Monday, March 11, 2013 at 7:37:11 PM UTC-5, Olivier Trempe wrote:
>
> Here's the scenario:
>
> I want to install python and use the pip provider to install python 
> packages, all in the same run.
>
> So far, I've managed to:
>
> 1. Install python with msi installer
> 2. Add C:\Python27 and C:\Python27\Scripts to PATH environment variable 
> through HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session 
> Manager\Environment
> 3. Install setuptools with ez_setup.py
> 4. Install pip with easy_install
>
> The problem comes in when I try to use pip to install a package because 
> the appended values to PATH environment variables are not propagated. The 
> pip provider cannot find pip on the system.
>
> Did someone here found a clean solution to this.
> (I started to do a hacky procedure with a custom fact executing 
> SendMessageTimeout. It didn't even work and I don't want to pursue with 
> this hazardous trail)
>
> Thanks in advance!
>
> Olivier Trempe
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/81ed8c93-d6ad-44a9-957b-0eb1e21221a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to