Установите H5Py Ubuntu 20.04 PIP

sudo apt-get install libhdf5-dev
BlueMoon