[GRASS-user] can't install and execute python script

Markus Neteler neteler at osgeo.org
Tue Mar 16 05:24:07 PDT 2021


Hi,

On Mon, Mar 15, 2021 at 11:31 PM Markus Neteler <neteler at osgeo.org> wrote:
> On Mon, Mar 15, 2021 at 11:07 AM Frank David <frank.david at geophom.fr> wrote:
> >
> > Hello,
> >
> > I've installed GRASS 7.8.3 on Ubuntu 20.10 (groovy) and when I try to install my own python script, the message is :
> >
> > Fetching <r.wtg> from </media/zephyr/ress/informatique/scripts/grass/scripts/r.wtg> (be patient)...
> > Compiling...
> > /bin/sh: 1: /tmp/grass7-geophom-78286/tmp1tw0ncyb/r.wtg/scripts/r.wtg.visibility.threshold: not found
> > /bin/sh: 1: /tmp/grass7-geophom-78286/tmp1tw0ncyb/r.wtg/scripts/r.wtg.visibility.conv: not found
...
> > Do you have any idea that problem ?
>
> This is somehow hard to say - is the addon available for testing?

For posterity:

I received the addon offlist. Some files showed Python 3 syntax
errors, fixed with "autopep8" and now the installation works (for me).

cheers,
Markus

-- 
Markus Neteler, PhD
https://www.mundialis.de - free data with free software
https://grass.osgeo.org
https://courses.neteler.org/blog


More information about the grass-user mailing list