[GRASS-user] [d.*] command not executing from standalone script

Martin Landa landa.martin at gmail.com
Fri Jan 6 03:26:23 PST 2017


Hi,

2017-01-06 6:22 GMT+01:00 Ang Sherpa <angsherpa232 at gmail.com>:
> I tried to launch the script through the link you provided, however, it
> throws and import error stating "No module named core.gcmd".

you need to add wxGUI package to the path.

    from grass.script.setup import set_gui_path
    set_gui_path()

Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the grass-user mailing list