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

dpan davepanitz at yahoo.com
Wed Feb 15 06:53:17 PST 2012


Hi all, 

I've searched the archives for similar problems, but other posts seem
Windows-specific. Getting this error on attempts to run gdal_polygonize:

File
"/library/frameworks/GDAL.framework/Versions/1.8/Programs/gdal_polygonize.py",
line 34, in 
import gdal, ogr, osr
ImportError: No module named gdal

Any suggestions greatly appreciated! If a setting needs to be changed,
fairly explicit directions would be helpful as I'm a novice and not very
familiar with the architecture. 

Thanks!
Dave

Software:
Mac OSX 10.6.8
QGIS version 1.8.0-Trunk
Compiled against Qt 4.7.3
GDAL/OGR Version 1.8.1
PostgreSQL Client Version 9.0.4
QWT Version 5.2.1
QGIS code revision 7f611e9
Running against Qt 4.7.3
GEOS Version 3.3.0
SpatiaLite Version 2.4.0

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



More information about the Qgis-user mailing list