[Gdal-dev] Re: Import Gdal Error in Python 2.4

Nagendra Singh singh01 at gmail.com
Fri Mar 2 10:13:38 EST 2007


I tried adding the gdal-1.4.0/Pymod path but still it did not work. How did
you get it working?

Nagendra

On 3/1/07, Nagendra Singh <singh01 at gmail.com> wrote:
>
> 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/20070302/e22f8390/attachment.html


More information about the Gdal-dev mailing list