As we already discussed, Keras doesn't have its own backend system. As it is running on top of TensorFlow, CNTK, or Theano, we need to install one of these—personally, we recommend TensorFlow.
We need to install the h5py library, with the help of the pip package manager, in order to save the Keras models to disk:
pip install tensorflow
pip install keras
pip install h5py
The preceding commands will install the basic required libraries for the model, which we are going to create now.