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

Python 3.9 is not working with tensorflow_models #11247

Open
1 task done
DanielUsselmann opened this issue Aug 5, 2024 · 1 comment
Open
1 task done

Python 3.9 is not working with tensorflow_models #11247

DanielUsselmann opened this issue Aug 5, 2024 · 1 comment
Assignees
Labels
models:official models that come under official repository type:docs

Comments

@DanielUsselmann
Copy link

Prerequisites

Please answer the following question for yourself before submitting an issue.

  • I checked to make sure that this issue has not been filed already.

1. The entire URL of the documentation with the issue

https://github.com/tensorflow/models

2. Describe the issue

In the README part it says, that Python 3.9 is supported but if I try to use tensorflow_models I'm getting:
TypeError: unsupported operand type(s) for |: 'type' and '_GenericAlias'

There has been a similar issue with #10986 but the docu still says it works with python 3.9

@bharatjetti
Copy link
Collaborator

Hi @DanielUsselmann
Thanks for reporting the issue. I was able to reproduce this issue, it is due to new typing feature of python 3.10. I've opened a PR #11259 to make tensorflow_models compatible with python3.7+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
models:official models that come under official repository type:docs
Projects
None yet
Development

No branches or pull requests

3 participants