Installing rtree on Mac OS X

Trying to work with rtree I was getting the error:

OSError: Could not find libspatialindex_c library file  

I just needed to brew install spatialindex and it worked

brew install spatialindex
pip install rtree

I hope this helps anyone who encounters a similar issue!