Reputation: 51
When I tried to open an .hdf5 file with h5py:
import h5py
file=h5py.open(".../f.hdf5",'r'),
The following error was raised:
h5py/h5f.pyx in h5py.h5f.open()
OSError: Unable to open file (unable to lock file, errno = 11, error message = 'Resource temporarily unavailable')
Upvotes: 0
Views: 7370
Reputation: 51
Solutions: The error could be solved for opening .hdf5 files as below:
file= h5py.File(file_path,'r')
Then the error while opening the file will be gone and you can keep working on that file.
Upvotes: 4