Hello everyone i’ve a Mac Book pro M3 and I need to open an HDF5 dataset in python, here is my code:
import h5py
import hdf5plugin
file_path = './blink.hdf5'
with h5py.File(file_path, 'r+') as h5_file:
evts = h5_file["CD"]["events"]
print(len(evts[(evts['t']<49330) & (evts['t']>48270) & (evts['x']<300) & (evts['y']>300)]))
h5_file.close()
i’ve installed both h5py and hdf5plugin but unfortunately I get an error:
OSError: Can't read data (can't open directory: /usr/local/hdf5/lib/plugin)
I’ve already tried to set the enviroment variables, in zshrc file but i can’t solve the issue.