I recently had to reinstall QGIS (version 2.2.0-9) and the raster menu is missing its tools. I understand that the GdalTools plugin must be installed and enabled. I have already installed the GDal complete framework package. When I try to load the Gdal Tools plguin, the following error message occurs:

enter image description here

A similar error message occurs when I go to 'manage and install plugins' and try to reinstall the openlayers plugin. The following message occurs:

enter image description here

Does anyone know how to install the "osgeo [python-gdal]" module mentioned?

I am using MacOsx 10.8.5.

1 Answer 1


I assume that you use the QGIS version of KyngChaos

Have you installed the required packages ?

If you did, the osgeo module is in:

/Library/Frameworks/GDAL.framework/Versions/1.11/Python/2.7/site-packages (or /Library/Frameworks/GDAL.framework/Versions/1.10/Python/2.7/site-packages

And there is a Python path configuration file (.pth) pointing to the module in:

/Library/Python/2.7/site-packages/gdal-py2.7.pth (or /Library/Python/2.7/site-packages/gdal-py2.7.pth)

The content of this file is:

import sys; sys.path.insert(0,'/Library/Frameworks/GDAL.framework/Versions/1.11/Python/2.7/site-packages')


import sys; sys.path.insert(0,'/Library/Frameworks/GDAL.framework/Versions/1.10/Python/2.7/site-packages')

To control, open the Terminal.app and type:

$ python
 >>> import osgeo
 >>> osgeo.__file__

or the same in the Python console of QGIS

After, in the GDALTools parameters:

  • for binaries, put: /Library/Frameworks/GDAL.framework/Programs:/usr/bin
  • for the path of the Python modules, put /Library/Frameworks/GDAL.framework/Versions/1.11/Python/2.T/site-packages (or 1.10)
  • for the help files, put /Library/Frameworks/GDAL.framework/Versions/1.11/Resources/doc/gdal (or 1.10)
  • See gis.stackexchange.com/a/99841/6725 for explanation on a small flaw in current GDAL Complete installation. After fixing that, everything in this answer is spot on.
    – dakcarto
    Commented Jun 3, 2014 at 17:31

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.