[GRASS-dev] error in pygrass

Pietro peter.zamb at gmail.com
Wed Aug 27 02:52:49 PDT 2014

Hi Niroshan,

On Wed, Aug 27, 2014 at 11:43 AM, Niroshan Sanjaya <nsanj88 at gmail.com> wrote:
> when I work with GRASS GIS I got following error
> "No module named pygrass.modules.shortcuts"

Can you provide a bit more of code or some more information about your
workflow? What do you do? are you programming in python? are you using
a shell  or the gui?

I suspect that is missing grass, the following line is working on my pc:

from grass.pygrass.modules.shortcuts import raster as r


More information about the grass-dev mailing list