I have installed OSGEO4W installer. In that I have installed Express Desktop install option. QGIS GDAL uDig and GRASS GIS were installed in C:/OSGEO4W64. I have added 'C:/OSGEO4W64/bin' in the path.
But still getting error for running - 'gdal_retile.py' from command prompt as not recognising as aninternal or external command.
On using OSGEO4W shell, on running 'gdal_retile.py' and other gdal python file, I was getting -
ImportError DLL load failed: %1 is not a valid Win32 application.
I am using Windows 7 64 bit, python in OSGEO4W was Python-2.7.
After following the condensed procedure I am getting following error on running
from osgeo import gdal in IDLE
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.