google / google/edward2

Error when import edward2

Open
#589 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.