[GRASS-dev] error in pygrass
Pietro
peter.zamb at gmail.com
Wed Aug 27 03:15:05 PDT 2014
Please keep the conversation on the mailing-list.
On Wed, Aug 27, 2014 at 12:00 PM, Niroshan Sanjaya <nsanj88 at gmail.com> wrote:
> Yes I do programming on GRASS python shell, then I tried with terminal then
> I got the same error.
>
> I used the following codes
> from grass.pygrass.modules.shortcuts import raster as r
> from grass.pygrass.modules.shortcuts import imagery as i
I believe that you are using grass6.*, and unfortunately the pygrass
modules is available only on grass7.*
Let me know.
Pietro
More information about the grass-dev
mailing list