---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-2-7c3de294e460> in <module>()
----> 1 import georasters as gr
2 import numpy as np
3 import matplotlib.pyplot as plt
4
5 raster = './data/nasa-worldview-2016-07-20.tiff'
/usr/local/lib/python3.5/site-packages/georasters/__init__.py in <module>()
1 # This file allows all subdirectories in this directory to be loaded by Python
2 # -*- coding: utf-8 -*-
----> 3 from .georasters import get_geo_info, map_pixel, map_pixel_inv, aggregate, create_geotiff, align_rasters, \
4 load_tiff, union, GeoRaster, RasterGeoError, RasterGeoTError, RasterGeoTWarning, merge, \
5 from_file, to_pandas, to_geopandas, from_pandas, raster_weights, map_vector
/usr/local/lib/python3.5/site-packages/georasters/georasters.py in <module>()
31 from __future__ import division
32 import numpy as np
---> 33 from osgeo import gdal, gdalnumeric, ogr, osr, gdal_array
34 from gdalconst import GA_ReadOnly
35 from skimage.measure import block_reduce
/usr/local/lib/python3.5/site-packages/GDAL-2.1.3-py3.5-macosx-10.12-x86_64.egg/osgeo/__init__.py in <module>()
19 fp.close()
20 return _mod
---> 21 _gdal = swig_import_helper()
22 del swig_import_helper
23 else:
/usr/local/lib/python3.5/site-packages/GDAL-2.1.3-py3.5-macosx-10.12-x86_64.egg/osgeo/__init__.py in swig_import_helper()
15 if fp is not None:
16 try:
---> 17 _mod = imp.load_module('_gdal', fp, pathname, description)
18 finally:
19 fp.close()
/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/imp.py in load_module(name, file, filename, details)
240 return load_dynamic(name, filename, opened_file)
241 else:
--> 242 return load_dynamic(name, filename, file)
243 elif type_ == PKG_DIRECTORY:
244 return load_package(name, filename)
/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/imp.py in load_dynamic(name, path, file)
340 spec = importlib.machinery.ModuleSpec(
341 name=name, loader=loader, origin=path)
--> 342 return _load(spec)
343
344 else:
ImportError: dlopen(/usr/local/lib/python3.5/site-packages/GDAL-2.1.3-py3.5-macosx-10.12-x86_64.egg/osgeo/_gdal.cpython-35m-darwin.so, 2): Symbol not found: _CSLParseCommandLine
Referenced from: /usr/local/lib/python3.5/site-packages/GDAL-2.1.3-py3.5-macosx-10.12-x86_64.egg/osgeo/_gdal.cpython-35m-darwin.so
Expected in: flat namespace
in /usr/local/lib/python3.5/site-packages/GDAL-2.1.3-py3.5-macosx-10.12-x86_64.egg/osgeo/_gdal.cpython-35m-darwin.so