Opened 8 years ago

Closed 8 years ago

#4087 closed defect (invalid)

GDAL can't locate _gdal.pyd

Reported by: KlamathDaryl Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: GDAL, ArcGIS



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\", line 81, in __init__
    import osgeo.gdal as gdal
  File "C:\Python26\ArcGIS10.0\lib\site-packages\osgeo\", line 7, in <module>
    import _gdal
ImportError: DLL load failed: The specified procedure could not be found.

Following the suggestions of this thread( ) 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?


Change History (1)

comment:1 Changed 8 years ago by Even Rouault

Resolution: invalid
Status: newclosed

Closing. Not material for Trac, but should be asked to gdal-dev mailing list or other forums for more visibility

Note: See TracTickets for help on using tickets.