StarCluster - Mailing List Archive

Re: Adding Python Modules

From: Austin Godber <no email>
Date: Mon, 14 Mar 2011 21:57:19 -0400

You should be able to use sudo to do things as the root user:

sudo easy_install boto

I am pretty sure that works.

Though you should keep in mind that will only run it on the current node
and /usr/local isn't share between nodes ... at least as far as I know of.

Austin

On 03/14/2011 08:55 PM, Chris Diehl wrote:
> Hello,
>
> I just successfully fired up my first cluster in short order which is
> brilliant!
>
> My first step was to try and install additional modules so that I
> could save a custom AMI for future use.
>
> Doing an 'easy_install <packagename>' yielded:
>
> -------------------------
>
> 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:
> '/usr/local/lib/python2.6/dist-packages/test-easy-install-5265.write-test'
>
> The installation directory you specified (via --install-dir, --prefix, or
> the distutils default setting) was:
>
> /usr/local/lib/python2.6/dist-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.
>
> -------------------------
>
> Does sgeadmin not have admin rights? Should I be able to install
> software at will without permissions issues?
>
> Chris
>
>
>
> _______________________________________________
> StarCluster mailing list
> StarCluster_at_mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster
Received on Mon Mar 14 2011 - 21:57:24 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject