Opened 12 years ago

Last modified 11 years ago

#301 closed defect

Problem running gdal*.py in osgeo4w shell — at Initial Version

Reported by: vascobnunes Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords: osgeo4w, gdal
Cc:

Description

I'm trying to run gdal_calc.py (and other gdal*.py) from the Osgeo4w shell and can't do it cause I get this error:

C:\>gdal_calc Traceback (most recent call last):

File "C:\OSGeo4W
bin\gdal_calc.py", line 47, in <module>

import gdal

File "C:\OSGeo4W\apps\Python27\lib\site-packages\gdal.py", line 2, in <module>

from osgeo.gdal import deprecation_warn

File "C:\OSGeo4W\apps\Python27\lib\site-packages\osgeo\init.py", line 21,

in <module>

_gdal = swig_import_helper()

File "C:\OSGeo4W\apps\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.

Change History (0)

Note: See TracTickets for help on using tickets.