Problem is h5py is needed in a version 2.x.x which does not compile.
The errormessage is quite long, looks somehow like this:
...
/tmp/pip-req-build-3eriu_nn/h5py/h5i.c: In function ‘__pyx_pymod_exec_h5i’:
/tmp/pip-req-build-3eriu_nn/h5py/h5i.c:3183:43: error: ‘H5I_REFERENCE’ undeclared (first use in this function); did you mean ‘H5T_REFERENCE’?
3183 | __pyx_t_2 = __Pyx_PyInt_From_H5I_type_t(H5I_REFERENCE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 25, __pyx_L1_error)
| ^~~~~~~~~~~~~
| H5T_REFERENCE