I'm trying to import GDAL to run in 64-bit spyder and am getting the following error: import gdal Traceback (most recent call last):
File "<ipython-input-1-27bf4694dd2b>", line 1, in <module>
import gdal
File "C:\Users\Rdebbout\AppData\Local\Continuum\Anaconda\Lib\site-packages\gdal.py", line 2, in <module>
from osgeo.gdal import deprecation_warn
File "C:\Users\Rdebbout\AppData\Local\Continuum\Anaconda\Lib\site-packages\osgeo\__init__.py", line 32, in <module>
_gdal = swig_import_helper()
File "C:\Users\Rdebbout\AppData\Local\Continuum\Anaconda\Lib\site-packages\osgeo\__init__.py", line 28, in swig_import_helper
_mod = imp.load_module('_gdal', fp, pathname, description)
ImportError: DLL load failed: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
I downloaded gdal as a wheel file from gohlke's website and then used pip install GDAL-1.11.3-cp27-none-win_amd64.whl.
conda install gdal
instead of an external build? anaconda.org/osgeo/gdal