[GRASS-user] Error in pansharp tool: missing grass.script
Andrea Peri
aperi2007 at gmail.com
Wed Jun 24 12:18:04 PDT 2015
Hi,
python --version =>2.7.3
my system is a Debian 7 64bit.
I remove the PYTHONPATH and try the changed as you suggest.
but the error is still here.
Traceback (most recent call last):
File "/usr/local/grass-7.0.0/scripts/i.pansharpen", line 91, in <module>
import grass.script as gscript
ImportError: No module named grass.script
The variable should not removed because otherwise is not founded the
folders grass/script
Meanwhile I notice the same issue "No module named grass.script" is
also in i.colors.enhance
Andrea.
2015-06-24 15:26 GMT+02:00 Vaclav Petras <wenzeslaus at gmail.com>:
>
> On Wed, Jun 24, 2015 at 9:18 AM, Andrea Peri <aperi2007 at gmail.com> wrote:
>>
>> Hi Vaclav,
>> thx for help.
>>
>> I have no problem to try your patch,
>>
>> If I understand , I should remove the
>> env var PYTHONPATH and return to previous situation before try your patch
>> ?
>
>
> Yes and you should also try
>
> python --version
>
> and
>
> python -c "import grass.script as grass"
>
> from command line in GRASS.
>
> What is your system?
--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
More information about the grass-user
mailing list