Thanks William. So my existing path already included /usr/bin:
/usr/bin:/usr/local/bin:/library/frameworks/GDAL.framework/Versions/1.8/Programs

In any case, I tried replacing my paths (per your suggestion) with:
/Library/Frameworks/GDAL.framework/Programs:/usr/bin

Producing error "env: python2.7: No such file or directory." Suspect the
Versions/1.8 bit was important.

Then I tried appending the first part to my original paths:
/usr/bin:/usr/local/bin:/library/frameworks/GDAL.framework/Versions/1.8/Programs:/Library/Frameworks/GDAL.framework/Programs

Producing the original error "ImportError: No module named gdal"

What seems strange to me is that it's able to find other modules, just not
gdal_polygonize. It's in the Programs directory along with the others.


--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Mac-OSX-ImportError-No-module-named-gdal-tp4472441p4472775.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to