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

dpan davepanitz at yahoo.com
Wed Feb 15 09:38:30 PST 2012


Hi Giuseppe, thanks for your help:


Giuseppe Sucameli wrote
> 
> AFAICS there's a /usr/local/bin in the path,
> do you have 2 different python versions installed?
> 

In /usr/bin I have python2.5 and python2.6. In /usr/local/bin I have
python2.7.
Not sure why the change; I have always just installed packages from
William's website and used the defaults.


Giuseppe Sucameli wrote
> 
> That setting should be auto-generated for MacOS (unless you changed
> it before). Please, can you remove that string at all, then restart QGis
> and then
> report here what's the path the GdalTools settings dialog displays?
> 

I had modified this setting in the past in response to another gdal tools
error, based on advice found in these forums. 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.


Giuseppe Sucameli wrote
> 
>> What seems strange to me is that it's able to find other modules, just
>> not
>> gdal_polygonize.
> Are you sure? Does gdal_merge tool work?
> 

Some others do work (e.g. Contour, Clipper, Near Black). However you are
right that gdal_merge also does NOT work...same "no module named gdal"
error.

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Mac-OSX-ImportError-No-module-named-gdal-tp4472441p4473051.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.



More information about the Qgis-user mailing list