Post

Replies

Boosts

Views

Activity

Why pip install tensorflow-macos==2.15.0 downgrade Keras to 2.15.0
I'm trying to install latest keras 3.0.5, tensorflow-macos and tensorflow-text. There are conflict in the versions dependencies. Is there any one able to do that? I'm using "Apple M2" and "Sonoma". As seen below, tensorflow-macos downgrade keras to 2.15 while tensorflow need keras >= 3 Installing collected packages: wrapt, tensorflow-estimator, pyasn1, oauthlib, ml-dtypes, keras, cachetools, rsa, requests-oauthlib, pyasn1-modules, google-auth, google-auth-oauthlib, tensorboard, tensorflow-macos Attempting uninstall: wrapt Found existing installation: wrapt 1.16.0 Uninstalling wrapt-1.16.0: Successfully uninstalled wrapt-1.16.0 Attempting uninstall: ml-dtypes Found existing installation: ml-dtypes 0.3.2 Uninstalling ml-dtypes-0.3.2: Successfully uninstalled ml-dtypes-0.3.2 Attempting uninstall: keras Found existing installation: keras 3.0.5 Uninstalling keras-3.0.5: Successfully uninstalled keras-3.0.5 Attempting uninstall: tensorboard Found existing installation: tensorboard 2.16.2 Uninstalling tensorboard-2.16.2: Successfully uninstalled tensorboard-2.16.2 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.16.0rc0 requires keras>=3.0.0, but you have keras 2.15.0 which is incompatible. tensorflow 2.16.0rc0 requires ml-dtypes~=0.3.1, but you have ml-dtypes 0.2.0 which is incompatible. tensorflow 2.16.0rc0 requires tensorboard<2.17,>=2.16, but you have tensorboard 2.15.2 which is incompatible.
4
0
2.1k
Feb ’24
Why pip install tensorflow-macos==2.15.0 downgrade Keras to 2.15.0
I'm trying to install latest keras 3.0.5, tensorflow-macos and tensorflow-text. There are conflict in the versions dependencies. Is there any one able to do that? I'm using "Apple M2" and "Sonoma". As seen below, tensorflow-macos downgrade keras to 2.15 while tensorflow need keras >= 3 Installing collected packages: wrapt, tensorflow-estimator, pyasn1, oauthlib, ml-dtypes, keras, cachetools, rsa, requests-oauthlib, pyasn1-modules, google-auth, google-auth-oauthlib, tensorboard, tensorflow-macos Attempting uninstall: wrapt Found existing installation: wrapt 1.16.0 Uninstalling wrapt-1.16.0: Successfully uninstalled wrapt-1.16.0 Attempting uninstall: ml-dtypes Found existing installation: ml-dtypes 0.3.2 Uninstalling ml-dtypes-0.3.2: Successfully uninstalled ml-dtypes-0.3.2 Attempting uninstall: keras Found existing installation: keras 3.0.5 Uninstalling keras-3.0.5: Successfully uninstalled keras-3.0.5 Attempting uninstall: tensorboard Found existing installation: tensorboard 2.16.2 Uninstalling tensorboard-2.16.2: Successfully uninstalled tensorboard-2.16.2 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.16.0rc0 requires keras>=3.0.0, but you have keras 2.15.0 which is incompatible. tensorflow 2.16.0rc0 requires ml-dtypes~=0.3.1, but you have ml-dtypes 0.2.0 which is incompatible. tensorflow 2.16.0rc0 requires tensorboard<2.17,>=2.16, but you have tensorboard 2.15.2 which is incompatible.
Replies
4
Boosts
0
Views
2.1k
Activity
Feb ’24