Pip install cadCAD error with python verrsion 3.10

When I try to install cadCAD, I get the following error. The error is in the fn library. The latest version of fn is from 2014, so there may be some incompatibility. This is de info in the terminal

pip install cadCAD
Collecting cadCAD
Using cached cadCAD-0.4.28-py3-none-any.whl (60 kB)
Collecting dill
Using cached dill-0.3.6-py3-none-any.whl (110 kB)
Requirement already satisfied: pytz in ./venv/lib/python3.10/site-packages (from cadCAD) (2023.3)
Requirement already satisfied: pandas in ./venv/lib/python3.10/site-packages (from cadCAD) (2.0.0)
Requirement already satisfied: funcy in ./venv/lib/python3.10/site-packages (from cadCAD) (2.0)
Requirement already satisfied: numpy in ./venv/lib/python3.10/site-packages (from cadCAD) (1.24.2)
Collecting fn
Using cached fn-0.4.3.tar.gz (38 kB)
Preparing metadata (setup.py) … error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
Traceback (most recent call last):
File “”, line 2, in
File “”, line 34, in
File “/tmp/pip-install-yzchsyyb/fn_41b3b8fed6b94f97888b31a3ae899aa4/setup.py”, line 6, in
import fn
File “/tmp/pip-install-yzchsyyb/fn_41b3b8fed6b94f97888b31a3ae899aa4/fn/init.py”, line 1, in
from .stream import Stream
File “/tmp/pip-install-yzchsyyb/fn_41b3b8fed6b94f97888b31a3ae899aa4/fn/stream.py”, line 9, in
from .iters import map, range
File “/tmp/pip-install-yzchsyyb/fn_41b3b8fed6b94f97888b31a3ae899aa4/fn/iters.py”, line 2, in
from collections import deque, Iterable
ImportError: cannot import name ‘Iterable’ from ‘collections’ (/usr/lib/python3.10/collections/init.py)
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Thank you in advance.

you can try this out… I got it to work for me