Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #29534 > unrolled thread

Installing Pip onto a mac os x system

Started byJohn Mordecai Dildy <jdildy85@gmail.com>
First post2012-09-19 18:32 -0700
Last post2012-09-20 13:39 -0700
Articles 5 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  Installing Pip onto a mac os x system John Mordecai Dildy <jdildy85@gmail.com> - 2012-09-19 18:32 -0700
    Re: Installing Pip onto a mac os x system Hans Mulder <hansmu@xs4all.nl> - 2012-09-20 10:21 +0200
    Re: Installing Pip onto a mac os x system John Mordecai Dildy <jdildy85@gmail.com> - 2012-09-20 13:33 -0700
      Re: Installing Pip onto a mac os x system John Gordon <gordon@panix.com> - 2012-09-20 20:37 +0000
        Re: Installing Pip onto a mac os x system John Mordecai Dildy <jdildy85@gmail.com> - 2012-09-20 13:39 -0700

#29534 — Installing Pip onto a mac os x system

FromJohn Mordecai Dildy <jdildy85@gmail.com>
Date2012-09-19 18:32 -0700
SubjectInstalling Pip onto a mac os x system
Message-ID<08f09236-a4d4-4b92-b212-f152be0d9449@googlegroups.com>
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

[toc] | [next] | [standalone]


#29546

FromHans Mulder <hansmu@xs4all.nl>
Date2012-09-20 10:21 +0200
Message-ID<505ad212$0$6943$e4fe514c@news2.news.xs4all.nl>
In reply to#29534
On 20/09/12 03:32:40, John Mordecai Dildy wrote:
> 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

[toc] | [prev] | [next] | [standalone]


#29574

FromJohn Mordecai Dildy <jdildy85@gmail.com>
Date2012-09-20 13:33 -0700
Message-ID<a316e0ba-8b7c-470e-b9cf-4c4647aa3602@googlegroups.com>
In reply to#29534
Thank you Hans M. for some input.

Now it shows the error of:

sudo: easy_instal: command not found

[toc] | [prev] | [next] | [standalone]


#29575

FromJohn Gordon <gordon@panix.com>
Date2012-09-20 20:37 +0000
Message-ID<k3fuqf$t8h$1@reader1.panix.com>
In reply to#29574
In <a316e0ba-8b7c-470e-b9cf-4c4647aa3602@googlegroups.com> John Mordecai Dildy <jdildy85@gmail.com> writes:

> Now it shows the error of:

> sudo: easy_instal: command not found

Try 'easy_install' instead of 'easy_instal'.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

[toc] | [prev] | [next] | [standalone]


#29576

FromJohn Mordecai Dildy <jdildy85@gmail.com>
Date2012-09-20 13:39 -0700
Message-ID<a71d54d1-ca07-44bd-97ef-acdccb201ed1@googlegroups.com>
In reply to#29575
On Thursday, September 20, 2012 4:37:36 PM UTC-4, John Gordon wrote:
> In <a316e0ba-8b7c-470e-b9cf-4c4647aa3602@googlegroups.com> John Mordecai Dildy <jdildy85@gmail.com> writes:
> 
> 
> 
> > Now it shows the error of:
> 
> 
> 
> > sudo: easy_instal: command not found
> 
> 
> 
> Try 'easy_install' instead of 'easy_instal'.
> 
> 
> 
> -- 
> 
> John Gordon                   A is for Amy, who fell down the stairs
> 
> gordon@panix.com              B is for Basil, assaulted by bears
> 
>                                 -- Edward Gorey, "The Gashlycrumb Tinies"

Thanks John G.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web