Skip to content

Conversation

Umashankar86
Copy link

This PR fixes an issue in the 02_how_to_generate.ipynb notebook where the code was trying to install TensorFlow 2.1, which is no longer available in PyPI.

The Error was: error : Could not find a version that satisfies the requirement tensorflow==2.1 (from versions: 2.12.0rc0, 2.12.0rc1, 2.12.0, 2.12.1, 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0, 2.13.1, 2.14.0rc0, 2.14.0rc1, 2.14.0, 2.14.1, 2.15.0rc0, 2.15.0rc1, 2.15.0, 2.15.0.post1, 2.15.1, 2.16.0rc0, 2.16.1, 2.16.2, 2.17.0rc0, 2.17.0rc1, 2.17.0, 2.17.1, 2.18.0rc0, 2.18.0rc1, 2.18.0rc2, 2.18.0, 2.19.0rc0) ERROR: No matching distribution found for tensorflow==2.1.

Changes Made:
Updated the TensorFlow version to a more recent and available version (e.g., tensorflow>=2.12).
Ensured compatibility with the existing codebase.
Tested the notebook to confirm it runs without errors.

Issue Reference:
This PR addresses the issue reported in #2728.

Testing:
Ran the updated notebook and verified that all cells execute without errors.
Checked that TensorFlow is correctly installed in the environment.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@Umashankar86
Copy link
Author

Umashankar86 commented Mar 9, 2025

@pcuenca @Cadene @Vaibhavs10 can you please review this fixes the TensorFlow version issue in 02_how_to_generate.ipynb

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 this pull request may close these issues.

1 participant