Keras requires TensorFlow 2.2 or higher. mac code example
Example: 'Keras requires TensorFlow 2.2 or higher. ' ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via `pip install tensorflow
pip3 install --upgrade tensorflow
pip3 install --upgrade tensorflow