Skip to content

Fix TensorFlow version issue in 02_how_to_generate.ipynb ref: issue: #2728 #2730

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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

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

Successfully merging this pull request may close these issues.

1 participant