StarCluster - Mailing List Archive

Re: Adding Python Modules

From: Chris Diehl <no email>
Date: Mon, 14 Mar 2011 19:00:55 -0700

I should have mentioned that I tried 'sudo easy_install ...' and it prompted
me for a password. Hitting return didn't do the trick...

Once I am able to create a new custom AMI, shouldn't I be able to spin up a
cluster of VMs all using the same image?

Chris

On Mon, Mar 14, 2011 at 6:57 PM, Austin Godber <godber_at_uberhip.com> wrote:

> 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 listStarCluster_at_mit.eduhttp://mailman.mit.edu/mailman/listinfo/starcluster
>
>
>
> _______________________________________________
> StarCluster mailing list
> StarCluster_at_mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster
>
>
Received on Mon Mar 14 2011 - 22:01:16 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject