GDAL installation

Leo Kris Palao lk.palao at gmail.com
Thu Feb 12 00:02:20 EST 2015


Hi Asim, thanks for your help. It is working properly now.

Thanks,
-Leo

On Wed, Feb 11, 2015 at 4:48 PM, Asim Jalis <asimjalis at gmail.com> wrote:

> Hi Leo,
>
> This might be a PATH issue.
>
> See this discussion for details.
>
>
> https://pythongisandstuff.wordpress.com/2011/07/07/installing-gdal-and-ogr-for-python-on-windows/
>
> Asim
>
> On Tue, Feb 10, 2015 at 9:11 PM, Leo Kris Palao <lk.palao at gmail.com>
> wrote:
>
>> Hi Python Users,
>>
>> I currently installed the Python 2.7.9 and installed the GDAL package.
>> First, I tried to install GDAL using PIP but it throws an error - I cannot
>> remember the exact error message. So, I install it using easy_install
>> command. But when I import the package I am getting this message, which I
>> really don't understand.
>>
>> Microsoft Windows [Version 6.1.7601]
>> Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
>>
>> C:\Users\lpalao>python
>>> Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit
>>> (AMD64)] on win32
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>> import gdal
>>> Traceback (most recent call last):
>>>   File "<stdin>", line 1, in <module>
>>>   File "C:\Python27\Python2.7.9\lib\site-packages\gdal.py", line 2, in
>>> <module>
>>>     from osgeo.gdal import deprecation_warn
>>>   File "C:\Python27\Python2.7.9\lib\site-packages\osgeo\__init__.py",
>>> line 21, in <module>
>>>     _gdal = swig_import_helper()
>>>   File "C:\Python27\Python2.7.9\lib\site-packages\osgeo\__init__.py",
>>> line 17, in swig_import_helper
>>>     _mod = imp.load_module('_gdal', fp, pathname, description)
>>> ImportError: DLL load failed: The specified module could not be found.
>>> >>>
>>
>>
>> Thanks in advance,
>> -Leo
>>
>> --
>> https://mail.python.org/mailman/listinfo/python-list
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150212/08b20f06/attachment.html>


More information about the Python-list mailing list