Installing packages through Terminal

Discussion in 'macOS' started by makudo, Apr 20, 2008.

  1. makudo macrumors newbie

    Joined:
    Apr 20, 2008
    #1
    Hi,

    I am trying to install PyXML through Terminal, but I'm having a permission denied error.

    The command I used to install the program:

    python setup.py install

    I am not currently logged in as Admin, though I know there's a way to install packages as a non-admin user using terminal; however, I don't know which command to use (sudo?). I have tried using sudo, but it tells me I'm not on the sudoers list.

    Can someone point me in the right direction?

    Also does anyone have book recommendations on how to use Terminal/unix?
     
  2. Queso macrumors G4

    Joined:
    Mar 4, 2006
    #2
    Use the login command to enter the credentials of your admin account. Sudo will then work in that context.

    As for the other request, bookmark this.
     
  3. makudo thread starter macrumors newbie

    Joined:
    Apr 20, 2008
    #3
    Thanks for the help!

    'sudo python setup.py install' worked fine after logging in as my admin account using the 'login' command.

    The site, from the link you gave, looks very thorough. Thanks.
     

Share This Page