Hi,

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.

Traceback (most recent call last):
  File "C:\Postgresql\bin\raster2pgsql.py", line 34, 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 operating system cannot run %1.

I have gdal in C:\Program Files (x86)\GDAL and C:\Program Files
(x86)\GDAL\gdal-data in the environmental variables


Any ideas??

Joan
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to