[Gdal-dev] Import Gdal Error in Python 2.4

Nagendra Singh singh01 at gmail.com
Thu Mar 1 12:53:22 EST 2007


Hi All,

I am running python on Cygwin and I have also installed gdal 1.4.0 (build
from source). When I run the command import gdal, Python gives me an error.
Any suggestions? I have double checked all the paths and everything seems
ok.

Python 2.4.3 (#1, May 18 2006, 07:40:45)
[GCC 3.3.3 (cygwin special)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gdal
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/gdal.py", line 191, in ?
    import _gdal
ImportError: No module named _gdal

thanks in advance.

Nagendra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20070301/89cc2926/attachment.html


More information about the Gdal-dev mailing list