The same thing. And, yes, I also have rtree 0.9.7 installed. When I try to 
import rtree from command-line python, I have the following traceback:

Python 3.8.8 (default, Feb 24 2021, 21:46:12)  
[GCC 7.3.0] :: Anaconda, Inc. on linux 
Type "help", "copyright", "credits" or "license" for more information. 
>>> import rtree 
Traceback (most recent call last): 
 File "<stdin>", line 1, in <module> 
 File 
"/home/sergey/anaconda3/lib/python3.8/site-packages/rtree/__init__.py", 
line 9, in <module> 
   from .index import Rtree, Index  # noqa 
 File "/home/sergey/anaconda3/lib/python3.8/site-packages/rtree/index.py", 
line 6, in <module> 
   from . import core 
 File "/home/sergey/anaconda3/lib/python3.8/site-packages/rtree/core.py", 
line 77, in <module> 
   rt.Error_GetLastErrorNum.restype = ctypes.c_int 
 File "/home/sergey/anaconda3/lib/python3.8/ctypes/__init__.py", line 394, 
in __getattr__ 
   func = self.__getitem__(name) 
 File "/home/sergey/anaconda3/lib/python3.8/ctypes/__init__.py", line 399, 
in __getitem__ 
   func = self._FuncPtr((name_or_ordinal, self)) 
AttributeError: python: undefined symbol: Error_GetLastErrorNum 
>>> 

This bug appeared after upgrading spyder to 4.2.2 and python to 3.8.8. May 
be, the problem is in a new python distribution.
воскресенье, 28 февраля 2021 г. в 17:14:13 UTC+3, Rational-IM: 

> In time - I already had rtree 0.9.7 installed. See below from Anaconda 
> Navigator:
>
>  
>
>  
>
> *From:* [email protected] <[email protected]> 
> *Sent:* Sunday, February 28, 2021 8:47 AM
> *To:* [email protected]
> *Subject:* Missing dependencies - Spyder 4.2.2
>
>  
>
> Good morning:
>
>  
>
> I just installed Spyder 4.2.2 (first, running “conda update anaconda”  and 
> after “conda install spyder=4.2.2 from Anaconda Prompt), and as soon as I 
> opened Spyder I got the warning below. First, how do I “install a 
> dependency”? Second, why is a dependency missing?
>
>  
>
> Thanks a lot,
>
>  
>
> Danilo
>
>  
>
>  
>
> <http://linkedin.com/in/danilosantiago>
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/0d4ca5c9-29b9-4d23-a51b-ca9e25cebf82n%40googlegroups.com.

Reply via email to