On Wed, Jun 24, 2015 at 9:07 AM, Andrea Peri <[email protected]> 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 <[email protected]>:
> > 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
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to