On 18/06/2009, at 18:44, JPKay wrote:
> I am interested in using fink to install the OSGeo libraries that
> specifically include GDAL and OGR.  I have installed the gdal-dev  
> libraries
> and have also installed the GRASS-62 libraries, however when I go to  
> my
> interactive python window I get the following error.
> from osgeo import ogr
> ImportError: No module named osgeo
Running

fink list gdal

on my box outputs

gdal             1.6.0-1002   Raster/Vector Geospatial Format Translator
gdal-dev         1.6.0-1002   GDAL/OGR development headers
gdal-py25        1.6.0-1      Raster/Vector Geospatial Format Translator
gdal-py26        1.6.0-1      Raster/Vector Geospatial Format Translator
gdal-shlibs      1.6.0-1002   GDAL/OGR shared libraries

If osgeo/ogr are provided by gdal then you should probably install  
either gdal-py25 or gdal-py26, which are the Python modules for Python  
2.5 and Python 2.6, respectively. gdal-dev contains development  
headers that are usually needed only if you want to compile C/C++ code  
that uses gdal.

> This suggests to me that the OSGeo packages have not been installed
> correctly. Any ideas to get me unstuck would be appreciated.

I'm CC'ing Kurt Schwehr, the maintainer of gdal* and grass-62, who's  
the best person to provide assistance with these packages.


Cheers,

--
monipol


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to