[Gdal-dev] Import Gdal

Howard Butler hobu.inc at gmail.com
Tue Sep 18 16:41:04 EDT 2007


On Sep 18, 2007, at 2:53 PM, Roger André wrote:

> Hi Gus,
>
> Did you install Python and GDAL separately?  In the past when I've
> installed GDAL independently, I've always had to specify that Python
> is present, and enable support within GDAL for it.  Here is a link to
> what appears to be a Windows executable that contains GDAL and Python
> 2.4 together - http://www.gdal.org/dl/win32/Python_GDAL-1.4.2.win32- 
> py2.4.exe.
>
> Roger


Actually, that's just the Python binding.  You also need the "exe"  
stuff too, which has the actual gdal dll.

Howard



> --
>
> On 9/18/07, Gustavo Ces <g.ces at pettra.es> wrote:
>>
>>
>> Hi all,
>>
>>     I´m newbie in Python so perhaps this problem is just a silly  
>> one. I´ve
>> installed Python 2.4 and Gdal for this version ( executed de install
>> software). When i try to import gdal module the GUI writes:
>>
>> Traceback (most recent call last):
>>   File "<pyshell#1>", line 1, in -toplevel-
>>     import gdal
>>   File "E:\Python24\Lib\site-packages\gdal.py", line 191,
>> in -toplevel-
>>     import _gdal
>> ImportError: DLL load failed: No se puede encontrar el módulo  
>> especificado.
>>
>> I don´t know what i have to do. Perhaps i had to do anything else.
>>
>> Thanks in advance
>>
>> Gus
>> _______________________________________________
>> Gdal-dev mailing list
>> Gdal-dev at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/gdal-dev
>>
>
> _______________________________________________
> 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