I’m personally not using h5py, as I’ve run into too many issues, but this post 1 mentions the --enable-parallel --enable-shared build flags (which apparently are not used in the conda packages), while this post 5 suggests to use the spawn method.
Maybe it’ll help.