[GRASS-dev] shutil_which on windows
Luca Delucchi
lucadeluge at gmail.com
Tue Oct 13 02:48:13 PDT 2015
Hi devs,
I have a problem with the function shutil_which (core.py) on windows
with grass 7.0.1 installed using OSGeo4W.
The function return None for each module of GRASS, the problem seems
to me that C:\OSGeo4W\apps\grass\grass-7.0.1\bin is not in the path
variable
>>> print gcore.shutil_which('r.mask')
['.', 'C:\\OSGeo4W\\apps\\qgis\\bin', 'C:\\OSGeo4W\\bin',
'C:\\Windows\\system32', 'C:\\Windows', 'C:\\Windows\\WBem',
'C:\\OSGeo4W\\apps\\msys\\bin',
'C:\\OSGeo4W\\apps\\Python27\\Scripts']
['r.mask.py', 'r.mask.COM', 'r.mask.EXE', 'r.mask.BAT', 'r.mask.CMD',
'r.mask.VBS', 'r.mask.VBE', 'r.mask.JS', 'r.mask.JSE', 'r.mask.WSF',
'r.mask.WSH', 'r.mask.MSC']
None
do you have any idea?
are you able to get this problem on windows?
(On Linux everything is working)
--
ciao
Luca
http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
More information about the grass-dev
mailing list