All, <br><br>I am trying to get the gdal python bindings working with an ArcGIS 10.1 installation.<br><br>I grabbed the core from <a href="http://gisinternals.com/sdk">gisinternals.com/sdk</a> (thanks Tamas!) and installed both the 1500 core files (MVS 2008) and the python 2.7 bindings. I appended the path as necessary and added the GDAL_DATA directory. The gdal installation appears to be working wonderfully with gdal_translate, gdalinfo, and ogr2ogr all functioning as expected.<br>
<br>Any of the python scripts and a straigh import of gdal or ogr are failing. Stack trace below. Any ideas? This is a new import error for me.<br><br>I attempted the import both from the root directory and the directory gdal is in (thinking it still could have been a PATH issue). I also tried both the stable and the nightly builds to see if that was the issue. Nada.<br>
<br>Thanks, <br>Jay<br><br>Microsoft Windows [Version 6.1.7601]<br>Copyright (c) 2009 Microsoft Corporation. All rights reserved.<br><br>C:\Users\arc_user>python<br>Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win<br>
32<br>Type "help", "copyright", "credits" or "license" for more information.<br>>>> import gdal<br>Traceback (most recent call last):<br> File "<stdin>", line 1, in <module><br>
File "C:\Python27\ArcGIS10.1\lib\site-packages\gdal.py", line 2, in <module><br> from osgeo.gdal import deprecation_warn<br> File "C:\Python27\ArcGIS10.1\lib\site-packages\osgeo\__init__.py", line 21, in<br>
<module><br> _gdal = swig_import_helper()<br> File "C:\Python27\ArcGIS10.1\lib\site-packages\osgeo\__init__.py", line 17, in<br> swig_import_helper<br> _mod = imp.load_module('_gdal', fp, pathname, description)<br>
ImportError: DLL load failed: The device is not ready.<br>>>><br>