[QGIS-Developer] OSGeo4w shell misses paths to saga_cmd

Alexandre Neto senhor.neto at gmail.com
Thu May 23 04:27:36 PDT 2019


Hi,

I wrote a python 3 script that at some point calls saga_cmd. It worked fine
on my Linux machine, but then the client tested it on Windows...

It seems that the paths to saga are not set on the OSGeo4w shell, and I
needed to set it manually by doing:

PATH=%PATH%;C:/OSGEO4~1/apps\saga-ltr;C:/OSGEO4~1/apps\saga-ltr\modules

and

SET SAGA_MLB=C:/OSGEO4~1/apps\saga-ltr\modules

Could/should we include these folders in the path by default?

Best regards,

Alex Neto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190523/efb9f747/attachment.html>


More information about the QGIS-Developer mailing list