Skip to content
Advertisement

Missing dependancies of rtree

I am currently using Spyder for Python, and I have this error message when I open the program: Error: You have missing dependencies!

rtree>= 0.8.3: None (NOK)

Please install them to avoid this message.

Note: Spyder could work without some of these dependencies, however to have a smooth experience, we strongly recommend.

I tried pip install rtree and got:

JavaScript

Please advise what I can do. Spyder works great so far, I just don’t want to have issues along the way. Thanks!

Advertisement

Answer

It looks like Rtree requires libspatialindex (https://libspatialindex.org) which is not automatically installed. It seems some devs are aware of the problem and working on a fix:

https://github.com/Toblerity/rtree/issues/146 https://github.com/Toblerity/rtree/issues/147

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement