zu lesen
Code: Select all
with h5py.File(filename, 'r') as file:
print("file.keys() = ", file.keys())
a_group_key = list(file.keys())[0]
data = list(file[a_group_key])
print(data)
< /code>
Aber der obige Code führt zum Fehler < /p>
File "h5py/_selector.pyx", line 376, in h5py._selector.Reader.read
OSError: Can't synchronously read data (can't open directory (/usr/local/hdf5/lib/plugin). Please verify its existence)
< /code>
Die Ausgabe ist < /p>
file.keys() =
Es funktioniert, wenn ich < /p>
Code: Select all
pip install hdf5plugin
< /code>
und < /p>
import hdf5plugin