Error “Keras requires TensorFlow 2.2 or higher”

后端 未结 4 755
情书的邮戳
情书的邮戳 2020-12-14 02:59

I just installed Visual Studio 2019 and Tensorflow, but I cannot import Keras because I get the following error message:

Keras requires TensorFlow 2.2 or

4条回答
  •  再見小時候
    2020-12-14 03:20

    Following the advice given here, downgrading Keras did the trick for me without having to touch any other packages. Just do:

    pip install keras==2.3.0
    

    I hope this only remains a temporary issue and will be fixed in future versions of TensorFlow and Keras.

    Other possible solutions, are discussed here.

提交回复
热议问题