After building the module with python setup.py build.
However, I encountered the 'collections' has no attribute 'Callable' error.
It seems that collections.Callable becomes collections.abc.Callable in Python 3.10 for some reason.
The test runs well after I modified all the collections.Callable to collections.abc.Callable.
Hi, I tried to run the test with
After building the module with
python setup.py build
.However, I encountered the
'collections' has no attribute 'Callable'
error.It seems that collections.Callable becomes collections.abc.Callable in Python 3.10 for some reason.
The test runs well after I modified all the
collections.Callable
tocollections.abc.Callable
.