[Qgis-user] Re: Mac OSX - ImportError: No module named gdal

Giuseppe Sucameli brush.tyler at gmail.com
Wed Feb 15 10:06:31 PST 2012


Hi,

On Wed, Feb 15, 2012 at 6:38 PM, dpan <davepanitz at yahoo.com> wrote:
> Per your advice I deleted the
> "Path to the GDAL binaries" setting and restarted qGIS, but now it's just
> blank - seems nothing was auto-generated.

because you're using an old version of GdalTools plugin, it was
updated in QGis master and also in the plugin repository.

The new version of GdalTools plugin allows you to set the path
to python modules (if not found like in your case).

Just use the Python Plugins Installer to update it (it could require to
enableexperimental plugins if not done before).
After installation, remove again the Path to executables in
Settings dialog, then restart. Now should be auto-filled.
If it doesn't still work, then set the Path to python modules to
something like

/Library/Frameworks/GDAL.framework/Versions/1.8/Python/2.7/site-packages

> Giuseppe Sucameli wrote
> However you are right that gdal_merge also does NOT work...

The other tools are binary executables, instead the gdal_merge
and gdal_polygonize (and someone else) are python executables.

Regards.

-- 
Giuseppe Sucameli



More information about the Qgis-user mailing list