[GRASS-user] r.viewshed Python Script OSError

Markus Metz markus.metz.giswork at gmail.com
Sun May 26 13:27:31 PDT 2013

On Fri, May 24, 2013 at 11:32 PM, Martin Lacayo <mlacayo at stanford.edu> wrote:
> Hello,
> I am using GRASS 6.4 on Debian. I am trying to make a call to
> r.viewshed from Python, but it fails with the following exception:
> OSError: [Errno 2] No such file or directory
> Any suggestions?

Did you install r.viewshed?

Where is the r.viewshed binary?

Is the location of r.viewshed in the PATH (within GRASS, test with
"echo $PATH")?

Did you execute the python script from within GRASS?

Which GRASS 6.4 version are you using? Recommended is 6.4.3.svn.

Markus M

More information about the grass-user mailing list