[OSGeo-Discuss] Gdal on python import error

saksham_kumar sakkumarsak at gmail.com
Mon Jul 1 04:32:44 PDT 2013


i have a 64 bit system
first i downloaded core libraries and installed them
second i added C:\Program Files\GDAL to my System Path(GDAL files)
and created a new environment variable GDAL_DATA whose value is C:\Program
Files\GDAL\gdal-data
(the data directory)
and then the GDAL python Bindings but it still doesnot work
now the error is
>>> from osgeo import gdal

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    from osgeo import gdal
  File "C:\Python27\lib\site-packages\osgeo\__init__.py", line 21, in
<module>
    _gdal = swig_import_helper()
  File "C:\Python27\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 procedure could not be found.



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Gdal-on-python-import-error-tp5063222p5063257.html
Sent from the OSGeo Discuss mailing list archive at Nabble.com.



More information about the Discuss mailing list