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

Installation fails in Python 3.11 environment due to TensorFlow dependency #74

Closed
matt-graham opened this issue Jan 4, 2023 · 1 comment · Fixed by #89
Closed

Installation fails in Python 3.11 environment due to TensorFlow dependency #74

matt-graham opened this issue Jan 4, 2023 · 1 comment · Fixed by #89
Assignees

Comments

@matt-graham
Copy link

Raising issue as part of JOSS review openjournals/joss-reviews/issues/5021

The README.md file lists the Python version requirements as Python 3.8+ and the setup.cfg file has python_requires = >=3.7 however on trying to install flowmc using pip into a Python 3.11 environment, installation fails with a ERROR: Failed building wheel for tensorstore error. This appears to be due to wheels only being available for TensorFlow (and related dependencies) for Python versions 3.7 to 3.10 currently. Given Python 3.11 is now in stable release it would be helpful to put more specific Python version requirements in the README.md and setup.cfg files. It would also make sense to have the minimum Python version in the README.md and setup.cfg files match (currently respectively 3.8 and 3.7) - as the latest versions of NumPy and JAX now support Python 3.8+ in line with NEP 29, a minimum of Python 3.8 might make sense.

@marylou-gabrie
Copy link
Collaborator

Thanks Matt for noticing this issue and its origin.
Following your suggestion I updated the requirement for python to be in the range 3.8-3.10.x.

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

Successfully merging a pull request may close this issue.

2 participants