ratt-ru / meqtrees

A library for implementing radio astronomical Measurement Equations
http://meqtrees.net
10 stars 2 forks source link

Permission denied when i run setup.py install over Redhat #880

Open engqasim2 opened 6 years ago

engqasim2 commented 6 years ago

when i tried to install Meqtrees over Redhat linux it keeps tell me permission denied

twillis449 commented 6 years ago

Usually setup.py will try to install stuff by default in /usr/local, which is owned by root and not by you. That's the most obvious source of 'permission denied' messages. If you try to install into a directory owned by you (using something like 'python setup.py --prefix =/home/engqasim2/local' things may work. Ubuntu linux has the concept of 'sudo' which allows you to temporarily become root if you have administrator privileges on your machine. I'm not sure about redhat these days.

engqasim2 commented 6 years ago

I found out how to be root and install setup.py already . But what I will type to run the Meqtrees

On Mar 7, 2018 12:03 AM, "Tony Willis" notifications@github.com wrote:

Usually setup.py will try to install stuff by default in /usr/local, which is owned by root and not by you. That's the most obvious source of 'permission denied' messages. If you try to install into a directory owned by you (using something like 'python setup.py --prefix =/home/engqasim2/local' things may work. Ubuntu linux has the concept of 'sudo' which allows you to temporarily become root if you have administrator privileges on your machine. I'm not sure about redhat these days.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ska-sa/meqtrees/issues/880#issuecomment-370944908, or mute the thread https://github.com/notifications/unsubscribe-auth/AORQuuRyTORvJyKJu6a42yC9bzzLvNOWks5tbweQgaJpZM4Sfelv .