[Thuban-list] Thuban on OS X - gdal problem

Bernhard Reiter bernhard at intevation.de
Wed Jul 21 15:21:21 CEST 2004


On Wed, Jul 21, 2004 at 10:49:48AM +0200, Lorenzo Moretti wrote:
>      No GDAL support because module 'gdal' cannot be imported. Python
>      exception: 'No module named gdal'

You have to install the python module "gdal" first. 
So you can test if that step it completed without running Thuban.
Simply start python and type
	import gdal
If that returns without error, you can try Thuban again.

>    - I have GDAL installed 1.2.0 without python support and I enter the
>    path in python cfg. How can I put gdal support in Thuban? In thuban
>    site there are only Windows and RH version without a doc for
>    installing from source;

You need to build gdal with python support.
For this you probably needs the python development headers.
Check: http://www.remotesensing.org/gdal/gdal_building.html

Check the python options shown at
	./configure --help
and also watch the output of the regular ./configure closely.

Bernhard

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-list/attachments/20040721/7c00c125/attachment.bin


More information about the Thuban-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)