Permission denied when trying to run generate_lm.py #2189
FrontierDK
started this conversation in
General
Replies: 1 comment
-
|
Since no one has answered this one, I'll do it my self then. In Linux, when you get this error when trying to run a python (.py) file, it has to be marked "allowed to be executed". This can be done like this: chmod +x myfile.py |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all.
Being new in this, I am trying to run my first training set. ./bin/run-ldc93s1.sh - the test runner, is able to completely run without errors.
But when I try to run generate_lm.py, I get -bash: Python-3.7.6/STT/data/lm/generate_lm.py: Permission denied
I have tried using sudo chown -R me:me /home/me/ - so I should have all the rights in my own folder. But I still get the error.
Does anyone have any idea on how to find out what is wrong?
Beta Was this translation helpful? Give feedback.
All reactions