[GRASS-user] Error in pansharp tool: missing grass.script

Vaclav Petras wenzeslaus at gmail.com
Wed Jun 24 06:12:26 PDT 2015


On Wed, Jun 24, 2015 at 9:07 AM, Andrea Peri <aperi2007 at gmail.com> wrote:

> Hi,
> I resolved.
> It was due to a missing env var
>
>   export PYTHONPATH=/usr/local/grass-7.0.0/etc/python
>

I still think it is an issue. Actually two issues. Your distribution does
not give the right Python to GRASS GIS and GRASS GIS does not work with the
version it was provied probably just because the strange import "import A.B
as A". Please see the previous email.

Vaclav

in my settings.
>
> Regards,
> A.
>
>
> 2015-06-24 13:03 GMT+02:00 Andrea Peri <aperi2007 at gmail.com>:
> > Hi to all,
> >
> > using the pansharp tool I have this error:
> >
> > Traceback (most recent call last):
> >   File "/usr/local/grass-7.0.0/scripts/i.pansharpen", line 91, in
> <module>
> >     import grass.script as grass
> > ImportError: No module named grass.script
> > Traceback (most recent call last):
> >   File "/usr/local/grass-7.0.0/scripts/i.pansharpen", line 91, in
> <module>
> >     import grass.script as grass
> > ImportError: No module named grass.script
> > Traceback (most recent call last):
> >   File "/usr/local/grass-7.0.0/scripts/i.pansharpen", line 91, in
> <module>
> >     import grass.script as grass
> > ImportError: No module named grass.script
> >
> > I guess this is an issue.
> > If confirmed I could open a ticket.
> >
> > Many thx.
> >
> > --
> > -----------------
> > Andrea Peri
> > . . . . . . . . .
> > qwerty àèìòù
> > -----------------
>
>
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150624/1cbb6474/attachment.html>


More information about the grass-user mailing list