[GRASS-dev] error in pygrass

Niroshan Sanjaya nsanj88 at gmail.com
Wed Aug 27 03:25:25 PDT 2014


oohh...!! I was using GRASS 7, when I checked it now it shows Version 6.4.3
Thank you very much I will reinstall 7


On Wed, Aug 27, 2014 at 3:45 PM, Pietro <peter.zamb at gmail.com> wrote:

> 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
>



-- 
--------------------------
*Niroshan Sanjaya*

P Save a Tree.Please consider the environment before printing this email
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140827/09577698/attachment-0001.html>


More information about the grass-dev mailing list