Incompatibility Issue of h5py 2.6.0 with OpenMC's

Hi Everyone,

I am using pyhton file (attached) to generate inputs for OpenMC and then run and post-process the out put of OpenMC to generate Scattering Matrix. But the h5py 2.6.0 cannot import output HDF5 view file of OpenMC. The snapshot of this is attached .
Do I need to change version of h5py or OpenMC?
How I can switch to a different version of h5py? any command lines? I think it is a python related issue but any help will be highly appreciated.

Best,
Mirza

new.py (4.77 KB)

HI

You could try:

pip install h5py==2.5.0

it worked for me.

Hi Juan,

Thank you very much. I was trying to install h5py==2.4.0 but it gives fatal error. But h5py==2.5.0 gives no issue in installation & it also worked for me.

Best Regards,
Mirza