'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?



Solution 1:[1]

You can use

pip install --upgrade tensorflow

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 TFer2