-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Spyder does not recognise rtree dependency as installed #17165
Comments
I have exactly the same issue. |
Hi guys, can you please use the installation via conda to use the packages from the conda-forge channel? We know there's an issue in the distributed wheels of rtree in pip, so maybe that's what is causing the error message to pop up. |
Hi Steff, thanks for the proposal, for sure that would fix the issue (although I did not try yet). For the future, I propose to evaluate, if rtree is really needed. I did a quick search in the spyder sources, to me it seems it is not really needed. Having less dependencies is always a nice thing... |
Seemingly there are also people having issues with conda (however on Windows): Looks to be a different issue, but that also seems to be caused by rtree. On that repo it is stated to install rtree via pip and honestly i just prefer pip. Not sure if it work with conda though as rtree seems to have several issues at the moment. All spyder could probably do is see if it is really required because it seems to run fine without it, however I have not looked yet where it is used. In terms of workaround: |
It is really needed, we know what we're doing. Please refrain from these sort of passive-aggressive comments in the future to get your problems fixed. It doesn't help your case at all.
That means this is a problem with the way Rtree is trying to detect and load the compiled libraries it depends on, not with Spyder. So please report it on their repo (linked in the previous @Richardk2n comment). Another solution that works for most people on Linux is to install |
Closing because this is definitely not our problem and, as @steff456 said, there's already a simple solution for it: use Anaconda or Miniconda, along with conda-forge, for a much stable and robust Spyder experience. |
Toblerity/rtree#206 is an attempt to fix that. If you could please download the wheel artifacts from the final ✅ GitHub Action for your platform and test, it would be very helpful. |
@hobu, thanks a lot for your help with this problem! I tested the Linux wheel on a Python 3.10 environment and it's working as expected (whereas the current one on PyPI is triggering the error mentioned here). |
I can confirm this bug. I'm using 32-bits Python 3.10, and there's no wheels published for this OS, so the package is installed, but cannot be imported. I can't use 64 bits version because I'm interacting with some 32-bits drivers. Is there a way to waive this warning on Sphinx itself? Is this such a critical package that it's not possible to disable some feature and live with it? |
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
A dependency missing popup appears when starting spyder:
The dependency is installed:
After upgrading my venv to 3.10 and installing spyder in it this first happened. I assumed that maybe the venv did not like being upgraded, deleted it, created a new one and installed only spyder and pylsp-mypy. The issue persisted. The popup occurs shortly but not immediately after spyders interface has fully loaded (single digit second delay).
Versions
Dependencies
The text was updated successfully, but these errors were encountered: