-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing rtree dependency issue with Spyder 4.2.1 #179
Comments
@Samk19, are you using Spyder installed in Anaconda? If you are using either Windows or macOS, I would recommend using the standalone applications which should include the required spatialindex libraries. |
I am using anconda on pop os (linux) Though spyder recognised rtree after i use sudo apt install libspatialindex-dev..... no idea if its a permanent fix or a temporary one though Spyder (anaconda) dependencies after using above command: Mandatory: Optional: |
The @conda-forge recipe for Rtree includes libspatialindex. I'm not sure what the bug is in this particular configuration, and I am not sure on the distinction of Spyder with any other Conda tooling. |
@Samk19, Spyder does not have a standalone application for Linux distributions, only Windows and macOS. I'm not familiar with "pop os" and don't know if Spyder has been tested on that flavor of Linux. Nevertheless, I think it should work. There are a few things to note:
I recommend attempting one of the following to solve your issue.
|
@mrclary only developer version of spatialindex solved the problem also tried on Ubuntu same problem but after installing developer version of spatialindex problem solved......but no idea if its a permanent soln of a temp one or of it creates other errors due to developer version of spatialindex installed |
@Samk19, sorry that you are having such trouble. I'm not sure what the problem could be, however I'm glad you were able to get it to work. |
Not quite sure it's rtree's problem or Python 3.8.8's problem, but they can't work well together. With Python 3.8.8 even rtree can not be imported (no problem with Python 3.8.5) - see below a test with ipython: Python 3.8.8 (default, Feb 24 2021, 21:46:12) In [1]: import rtree
|
The error message is: ~/anaconda3/lib/python3.8/site-packages/rtree/core.py in |
for windows users: cgohlke just re-released rtree-0.9.7 wheels today. |
I just installed spyder 4.2.1 (conda-forge) into a conda environment running Python 3.7.9. When I start spyder, a window pops up and states that a dependency is missing, namely rtree >=0.8.3.
However, rtree 0.9.5 is installed.
Removing/reinstalling rtree and spyder doesn't stop the warning.
Some temporary solution from spyder github i got were, that the spyder message about rtree disapears, when copy "spatialindex_c-64.dll" into the rtree folder.
Any permanent solution?
The text was updated successfully, but these errors were encountered: