Installing Pip onto a mac os x system

  • Thread starter John Mordecai Dildy
  • Start date
J

John Mordecai Dildy

Does anyone know how to install Pip onto a mac os x ver 10.7.4?

Ive tried easy_instal pip but it brings up this message (but it doesn't help with my problem):

error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

[Errno 13] Permission denied: '/Library/Python/2.7/site-packages/test-easy-install-1820.write-test'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

/Library/Python/2.7/site-packages/

Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.

For information on other options, you may wish to consult the
documentation at:

http://peak.telecommunity.com/EasyInstall.html

Please make the appropriate changes for your system and try again.

Thing is I am the Administrator of the computer and can use all of the folders on the mac computer.

Thank you in advance if you guys can help me with the problem,

John Dildy
 
H

Hans Mulder

Does anyone know how to install Pip onto a mac os x ver 10.7.4?

Ive tried easy_instal pip but it brings up this message (but it doesn't help with my problem):

error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

[Errno 13] Permission denied: '/Library/Python/2.7/site-packages/test-easy-install-1820.write-test'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

/Library/Python/2.7/site-packages/

Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.

For information on other options, you may wish to consult the
documentation at:

http://peak.telecommunity.com/EasyInstall.html

Please make the appropriate changes for your system and try again.

Thing is I am the Administrator of the computer

In that case, you should be able to do

sudo easy_instal pip

This will ask your login password, and then run "easy_instal pip"
with so-called "root" privileges.
and can use all of the folders on the mac computer.

You may be able to view them, but I doubt that you can add
new files to folders like, say, /Library/Python .


Hope this helps,

-- HansM
 
J

John Mordecai Dildy

Thank you Hans M. for some input.

Now it shows the error of:

sudo: easy_instal: command not found
 
J

John Mordecai Dildy

Try 'easy_install' instead of 'easy_instal'.



--

John Gordon A is for Amy, who fell down the stairs

(e-mail address removed) B is for Basil, assaulted by bears

-- Edward Gorey, "The Gashlycrumb Tinies"

Thanks John G.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,961
Messages
2,570,131
Members
46,689
Latest member
liammiller

Latest Threads

Top