I'm attempting to import gdal in Python 3.6 and I receive the error below.
ImportError: dlopen(/anaconda3/lib/python3.6/site-packages/osgeo/_gdal.cpython-36m-darwin.so, 2): Symbol not found: __ZN11xercesc_3_211InputSource11setEncodingEPKt Referenced from: /anaconda3/lib/libgdal.20.dylib Expected in: /anaconda3/lib/libxerces-c-3.2.dylib in /anaconda3/lib/libgdal.20.dylib
I currently use anaconda. I've attempted uninstalling/reinstalling gdal and libgdal with "conda install 'module'" with no success.
Conda is automatically installing version 2.3.0 for gdal and libgdal.