I am trying to use the "Build Virtual Raster" tool in QGIS 3 to build a mosaic. When I run the tool, I get the following message:

GDAL command output:
/bin/sh: gdalbuildvrt: command not found

gdalbuildvrt is available in my terminal, but it appears that QGIS does not know where to find it. How do I fix this?

I am running:

  • QGIS 3.0.3
  • macOS 10.13.4

1 Answer 1


This is a know issue, however there is a workaround described in the readme file from the installer:

QGIS 3 does not find external tools needed for Processing. Some configuration options are missing. A workaround is to use QGIS custom variables. Open QGIS Preferences → System.

  • Under the Environment section, turn on Use Custom Variables.
  • Add (+) a variable
  • Select Prepend from the Apply popup
  • Enter PATH for the variable
  • For the Value enter: /Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/GDAL.framework/Versions/2.2/Programs:
  • Quit QGIS 3 and start it again

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.