GDAL installation

Leo Kris Palao lk.palao at gmail.com
Wed Feb 11 00:11:30 EST 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150211/f9bac055/attachment.html>


More information about the Python-list mailing list