
Traceback (most recent call last):


 "<string>", line 1, in <module>


 "/tmp/pip-install-qu23jn2x/Rtree/setup.py", line 3, in <module>

import rtree


 "/tmp/pip-install-qu23jn2x/Rtree/rtree/__init__.py", line 1, in <module>

from .index import Rtree


 "/tmp/pip-install-qu23jn2x/Rtree/rtree/index.py", line 6, in <module>

from . import core


 "/tmp/pip-install-qu23jn2x/Rtree/rtree/core.py", line 143, in <module>

rt.Error_GetLastErrorNum.restype = ctypes.c_int


 "/usr/lib/python3.7/ctypes/__init__.py", line 377, in __getattr__

func = self.__getitem__(name)


 "/usr/lib/python3.7/ctypes/__init__.py", line 382, in __getitem__

func = self._FuncPtr((name_or_ordinal, self))

AttributeError: /usr/bin/python3: undefined symbol: Error_GetLastErrorNum

Traceback (most recent call last):


 "inj\circular\main.py", line 8, in <module>

import circular.b as b


 "inj\circular\b.py", line 3, in <module>

import circular.c as c


 "inj\circular\c.py", line 6, in <module>

class C:


 "inj\circular\c.py", line 8, in C

def __init__(self, b: 'b.B'):


 "[venv]\lib\site-packages\injector\__init__.py", line 1367, in inject

bindings = _infer_injected_bindings(function, only_explicit_bindings=False)


 "[venv]\lib\site-packages\injector\__init__.py", line 1176, in _infer_injected_bindings

bindings = get_type_hints(callable, include_extras=True)


 "[venv]\lib\site-packages\typing_extensions.py", line 1880, in get_type_hints

hint = typing.get_type_hints(obj, globalns=globalns, localns=localns)


 "[python]\Python38\lib\typing.py", line 1261, in get_type_hints

value = _eval_type(value, globalns, localns)


 "[python]\Python38\lib\typing.py", line 270, in _eval_type

return t._evaluate(globalns, localns)


 "[python]\Python38\lib\typing.py", line 518, in _evaluate

eval(self.__forward_code__, globalns, localns),


 "<string>", line 1, in <module>
AttributeError: partially initialized module 'circular.b' has no attribute 'B' (most likely due to a circular import)
