alphageometry
alphageometry copied to clipboard
bash run.sh got "TypeError: Callable[args, result]: args must be a list. Got <class 'str'>" on line 51 of dd.py
I got the following error when running bash run.sh to run alphageometry.py on the example question. i didn't change the input inrun.sh. How could fix this error? Appreciate your help in advance.
File "..../alphageometry.py", line 26, in <module>
import ddar
File ".../alphageometry/ddar.py", line 20, in <module>
import dd
File "...alphageometry/dd.py", line 51, in <module>
g_matcher: Callable[str, list[tuple[gm.Point, ...]]],
g_matcher: Callable[str, list[tuple[gm.Point, ...]]],
File "/share/software/user/open/python/3.9.0/lib/python3.9/typing.py", line 826, in __getitem__
raise TypeError(f"Callable[args, result]: args must be a list."
TypeError: Callable[args, result]: args must be a list. Got <class 'str'>