[Gdal-dev] Problem using gdal.py
Kevin Ruland
kruland at ku.edu
Mon Oct 31 07:28:44 EST 2005
Paul,
The 'import _gdal' line in gdal.py is actually trying to import the
shared object library _gdal.so. You'll need to compile and install
that. In order to install the new bindings, cd swig/python in the gdal
source directory and do "make install". This will build and install
everything.
Kevin
Paul.Tildesley at csiro.au wrote:
> I have built gdal version 1.3.1 and I want to use the python file
> gdal.py. This starts by importing _gdal.py which does not exist in my
> installation. I have checked version 1.3.0 and it is the same.
>
> Is _gdal.py supposed to be distributed with the tar file or is it
> created in the make process?
>
> What am I missing? How can I get to use gdal.py?
>
> Regards,
>
> Paul.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Gdal-dev mailing list
>Gdal-dev at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/gdal-dev
>
More information about the Gdal-dev
mailing list