google-deepmind / google-deepmind/alphageometry
bash run.sh got "TypeError: Callable[args, result]: args must be a list. Got <class 'str'>" on line 51 of dd.py
- Dominant language
- Python
- Stars
- 4.9k
- Forks
- 572
- PR merge metrics
- No merged PRs in 30d
Description
I got the following error when running `bash run.sh` to run alphageometry.py on the example question. i didn't change the input in`run.sh`. How could fix this error? Appreciate your help in advance.
```
File "..../alphageometry.py", line 26, in
import ddar
File ".../alphageometry/ddar.py", line 20, in
import dd
File "...alphageometry/dd.py", line 51, in
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
```
Contributor guide
Assessment
This issue has not been assessed yet.