Hi,<div><br></div><div>I have been trying to set up PostGIS on a 64 bit machine running windows 7. The installation was successful but when I run the raster2pgsql script I get the following error.</div><div><br></div><div>
<div>Traceback (most recent call last):</div><div>  File "C:\Postgresql\bin\raster2pgsql.py", line 34, in <module></div><div>    from osgeo import gdal</div><div>  File "C:\Python27\lib\site-packages\osgeo\__init__.py", line 21, in <module></div>
<div>    _gdal = swig_import_helper()</div><div>  File "C:\Python27\lib\site-packages\osgeo\__init__.py", line 17, in swig_import_helper</div><div>    _mod = imp.load_module('_gdal', fp, pathname, description)</div>
<div>ImportError: DLL load failed: The operating system cannot run %1.</div></div><div><br></div><div>I have gdal in C:\Program Files (x86)\GDAL and C:\Program Files (x86)\GDAL\gdal-data in the environmental variables</div>
<div><br></div><div><br></div><div>Any ideas??</div><div><br></div><div>Joan</div>