For Keras, use the sample command, as used for the installation with GPUs:
sudo pip install keras
In this recipe, we learned how to install Keras on top of the TensorFlow GPU hooked to cuDNN and CUDA.