<p><br>
On Sep 19, 2012 6:37 PM, "John Mordecai Dildy" <<a href="mailto:jdildy85@gmail.com">jdildy85@gmail.com</a>> wrote:<br>
><br>
> Does anyone know how to install Pip onto a mac os x ver 10.7.4?<br>
><br>
> Ive tried easy_instal pip but it brings up this message (but it doesn't help with my problem):<br>
><br>
> error: can't create or remove files in install directory<br>
><br>
> The following error occurred while trying to add or remove files in the<br>
> installation directory:<br>
><br>
> [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/test-easy-install-1820.write-test'<br>
><br>
> The installation directory you specified (via --install-dir, --prefix, or<br>
> the distutils default setting) was:<br>
><br>
> /Library/Python/2.7/site-packages/<br>
><br>
> Perhaps your account does not have write access to this directory? If the<br>
> installation directory is a system-owned directory, you may need to sign in<br>
> as the administrator or "root" account. If you do not have administrative<br>
> access to this machine, you may wish to choose a different installation<br>
> directory, preferably one that is listed in your PYTHONPATH environment<br>
> variable.<br>
><br>
> For information on other options, you may wish to consult the<br>
> documentation at:<br>
><br>
> <a href="http://peak.telecommunity.com/EasyInstall.html">http://peak.telecommunity.com/EasyInstall.html</a><br>
><br>
> Please make the appropriate changes for your system and try again.<br>
><br>
> Thing is I am the Administrator of the computer and can use all of the folders on the mac computer.<br>
></p>
<p>No you can't. You can ask permission to use skill the folders (and then grant yourself that permission), but the user that you're currently running as does not have full access to the computer.</p>
<p>You know how every time you install a program, a prompt comes up asking for your password? That's you giving the process permission to run as "root", the only account with full access to everything. </p>
<p>On the command line, you run things as root by using the "sudo" command (being an administrator means your account is able to run that)</p>
<p>sudo easy_install pip </p>
<p>should work<br>
</p>