Error when import edward2
Open
- Dominant language
- Jupyter Notebook
- Stars
- 712
- Forks
- 77
- Avg merge
- 9h 39m
- Merged PRs (30d)
- 1
Description
when i "import edward2 as ed" in .py file, error occurs:
-> from edward2.maps import robust_map
->retry_exception_types: list[type[Exception]] | None = ...
TypeError: unsupported operand type(s) for |: 'TypeVar' and'TypeVar'
this error occirs in maps.py file when its code is "list[U|V]"
my numpy is 1.21.6
python 3.7.3
tensorflow 2.11.0
Contributor guide
Assessment
This issue has not been assessed yet.