Re: Permission denied error

From: Gerry Creager <gerry.creager_at_nyahnyahspammersnyahnyah>
Date: Thu Aug 16 2012 - 07:36:03 MDT

Try the following:

python setup.py install --user

And see if that doesn't do what you really want.

gerry

On Thu, Aug 16, 2012 at 8:26 AM, vladimir kalmykov <vvk88@mail.ru> wrote:

> Hello!
>
> I have a problem installing PyNGL on supercomputer.
>
> I tried precompiled binaries of PyNGL and PyNIO, but computer has other
> version of software(for example, libssl.so and libgfortran.so), so that way
> is impossible for me.
>
> I have limited rights on system, and therefore i cant wtite to global
> folders, like 'usr/lib".
>
> I tried following steps:
>
> 1) Put precompiled NCL in folder '~/.local'
>
> 2) export NCARG_ROOT= ~/.local
>
> 3) cd PyNGL
> python setup.py install --home=~/.local
>
> But inspite of '--home' option compiler tries copy something in /usr/bin:
>
> ......
> running install_data
> copying Ngl.pth -> /usr/lib/python2.6/site-packages
> error: /usr/lib/python2.6/site-packages/Ngl.pth: Permission denied
>
> What should i do to finish installation?
>
> Thank you.
>
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
>
>

_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Thu Aug 16 07:36:16 2012

This archive was generated by hypermail 2.1.8 : Thu Sep 13 2012 - 15:38:36 MDT