Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when import edward2 #589

Open
codeOVO opened this issue May 7, 2024 · 1 comment
Open

Error when import edward2 #589

codeOVO opened this issue May 7, 2024 · 1 comment

Comments

@codeOVO
Copy link

codeOVO commented May 7, 2024

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

@dustinvtran
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants