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

Add --upgrade to keras install #1676

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

sampathweb
Copy link
Contributor

If the user's env already has keras via tensorflow, pip install keras doesn't do anything since its already installed. So adding --upgrade.

Also, !pip install --upgrade keras>=3 fails in Colab since pip checks for dependencies and shows error -

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tensorflow 2.14.0 requires keras<2.15,>=2.14.0, but you have keras 3.0.1 which is incompatible.

So, we will have to use pip install --upgrade keras if we want to upgrade to version 3.

@fchollet fchollet merged commit 6d8b0dc into keras-team:master Dec 8, 2023
3 of 4 checks passed
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.

3 participants