modeller permission denied
I'm using modeller 9.21 for Mac and python 2.7.16.
I'm trying to run python scripts by using these commands on terminal.However, it gives me permission denied error.How can I solve this permission error?
mkdir modeller
cd modeller/
ls
mod9.21 examples/
Cannot open logfile examples/.log: Permission denied
mod9.21 examples/salign/salign_align2d.py
Cannot open logfile examples/salign/salign_align2d.log: Permission denied
mod9.21 /Library/modeller-9.21/examples/salign/salign_align2d.py
Cannot open logfile /Library/modeller-9.21/examples/salign/salign_align2d.log: Permission denied
mod9.21 /Library/modeller-9.21/examples/salign/salign_align2d.py >AA
Cannot open logfile /Library/modeller-9.21/examples/salign/salign_align2d.log: Permission denied
./run_tests
Entering directory: all-steps
mod9.21 search.py
Cannot open logfile search.log: Permission denied
mod9.21 compare.py
Cannot open logfile compare.log: Permission denied
mod9.21 get-model.py
Cannot open logfile get-model.log: Permission denied
Entering directory: assessment
mod9.21 assess_dope.py
Cannot open logfile assess_dope.log: Permission denied
mod9.21 assess_normalized_dope.py
Cannot open logfile assess_normalized_dope.log: Permission denied
On 4/24/19 10:16 AM, Almira Ovagimyan wrote: > I'm using modeller 9.21 for Mac and python 2.7.16. > > I'm trying to run python scripts by using these commands on > terminal.However, it gives me permission denied error.How can I solve > this permission error?
Make a copy of the directory somewhere where you do have permissions (usually under your home directory):
cp -a /Library/modeller-9.21/examples/ ~/examples/ cd ~/examples/salign python salign_align2d.py
Just plain 'python' works better than 'mod9.21' on most machines these days.
Ben Webb, Modeller Caretaker
participants (2)
-
Almira Ovagimyan
-
Modeller Caretaker