Import error requires h5py
just solve it using sudo pip install hypy.
i have the below error while running my code on amazon ec2 instance and when trying to import the h5py package i have permission denied error
ImportError: load_weights requires h5py