Skip to content

need TensorFlow 2.1.6 #112

Answered by jbusecke
suedorward asked this question in Q&A
Dec 7, 2023 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

Overall this is quite a complex dependency problem here.
I followed the instruction to install keras_nlp on keras 3 and they did not work!

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.15.0.post1 requires keras<2.16,>=2.15.0, but you have keras 3.0.1 which is incompatible.

I managed to update keras to 3 with the following chain of commands in the terminal

pip install --upgrade tensorflow
pip install --upgrade keras-nlp
pip install --upgrade keras>=3 --no-deps

Note that you will have to do this procedure every time you start up a server

But I don'…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@jbusecke
Comment options

Answer selected by suedorward
@suedorward
Comment options

@suedorward
Comment options

@suedorward
Comment options

@suedorward
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants