Opened 8 years ago

Closed 7 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
Cc:

Description

Hello-

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?

Daryl

Change History (1)

comment:1 Changed 7 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.