Ticket #4087 (closed defect: invalid)
GDAL can't locate _gdal.pyd
|Reported by:||KlamathDaryl||Owned by:||warmerdam|
I'm curious how I might debug how my GDAL install recently got broken. When starting a fresh instance of python.exe, I can 'from osgeo import gdal' just fine.
When executing a script, I get the following error:
... smpl = GDALSampler(myDEM) File "u:\04_programming\01_py\ModuleLiDARtools_v1.py", line 81, in __init__ import osgeo.gdal as gdal File "C:\Python26\ArcGIS10.0\lib\site-packages\osgeo\gdal.py", line 7, in <module> import _gdal ImportError: DLL load failed: The specified procedure could not be found.
Following the suggestions of this thread( http://trac.osgeo.org/gdal/ticket/3426 ) Any idea how I might have done this. I've done a clean install of GDAL over the ArcGIS 10 install, and my enviroment variables are up to spec. Because of the flaky nature of the import failure, I suspect this may be a namespace issue?