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

inconsistent Requires-Dist leads to ImportError with 0.25 #1854

Open
cburroughs opened this issue Nov 13, 2024 · 2 comments
Open

inconsistent Requires-Dist leads to ImportError with 0.25 #1854

cburroughs opened this issue Nov 13, 2024 · 2 comments

Comments

@cburroughs
Copy link

5fa62e1 set a runtime check with required_tensorflow_version = '2.18', but https://github.com/tensorflow/probability/blob/v0.25.0/setup.py#L52 still has the Requires-Dist set to 2.16.

This will lead to an import error like:

E   ImportError: This version of TensorFlow Probability requires TensorFlow version >= 2.18; Detected an installation of version 2.16.2. Please upgrade TensorFlow to proceed.

which could be avoided if the Requires-Dist matched.

@ColCarroll
Copy link
Collaborator

thank you!

upgrading tensorflow manually should work for now, right?

@cburroughs
Copy link
Author

Yes, a user can work around this by manually satisfying the dependency.

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