I would like to begin with geopandas but I have an issue when I import it. Terminal return me this message :
>>>import geopandas Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/geopandas/__init__.py", line 1, in <module> from geopandas.geoseries import GeoSeries File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/geopandas/geoseries.py", line 12, in <module> from geopandas.base import GeoPandasBase, _series_unary_op, _CoordinateIndexer File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/geopandas/base.py", line 14, in <module> from rtree.core import RTreeError File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/rtree/__init__.py", line 1, in <module> from .index import Rtree File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/rtree/index.py", line 5, in <module> from . import core File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/rtree/core.py", line 125, in <module> raise OSError("Could not find libspatialindex_c library file") OSError: Could not find libspatialindex_c library file
I tried to install spatialindex with pip, brew or directly with github source, and to install again Rtree but it didn't work.
Can somebody help me?
I am on macOS