QGIS GRASS GIS – Fixing ‘This Algorithm Cannot Be Run’ Error

grassosgeo4wqgis

I updated QGIS to version 3.6 using OSGEO4w

When I try to run any GRASS script, I get the following error message :

Error message

This algorithm cannot be run 🙁 The specified GRASS 7 folder
"C:\OSGEO4~1\bin\bin" does not contain a valid set of GRASS 7 modules.
Please, go to the Processing settings dialog, and check that the GRASS
7 folder is correctly configured

It looks like the path doesn't exist, but I couldn't find a place to change it; it is not an option in the processing settings any more like in versions 2.x.

Is there a way to run those processing scripts in QGIS 3.6 and if so, how could I tweak the settings needed?


Here is what my processing options looks like

Processing parameters

Best Answer

If I open QGIS with the shortcut "QGIS Desktop 3.6.0 with GRASS 7.6.0" everything works fine. If I open QGIS with the shortcut "QGIS Desktop 3.6.0" I get the same error as you.

UPDATE for QGIS 3.20: Please use qgis.bat located in C:\OSGeo4W\bin as qgis-bin-g7.exe is missing in the latest version.

Related Question