Assuming numpy, scipy, & Theano are already installed. Make sure you install:
sudo apt-get install libhdf5-dev/
So that the headers can be discovered. Then we install h5py:
sudo pip install h5py
Then we should be abe to install keras
without issue:
sudo pip install keras