I work with Unix and I need to use HDF5 to store data. According to the HDF5 manual http://docs.h5py.org/en/latest/quick.html#quick , you need to start by creating a new file.
import h5py
import numpy as np
f = h5py.File("mytestfile.hdf5", "w")
However, as soon as I run this code, I get a strange error.
IOError: Unable to create file (Unable to open file: name = 'mytestfile.hdf5', errno = 13,
error message = 'permission denied', flags = 13, o_flags = 602)
I do not understand the meaning of the error. Does anyone know if I need specific permission to use this library? Thanks in advance!
source
share