Skip to content
Advertisement

Keras does not load because cannot find TensorFlow

Running Anaconda and installed: Keras = 2.4.3 TensorFlow = 2.4.0

However, when importing Keras – I get “Keras requires TensorFlow 2.2 or higher”.

Tried uninstalling/installing – did not help.

Any idea?

Advertisement

Answer

You can use

pip install --upgrade tensorflow

to install an upgraded and compatible TensorFlow version in your system.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement