OSError: Unable to open file (unable to open file: name = './raw', errno = 13, error message = 'Perm

  File "h5py\_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py\_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py\h5f.pyx", line 88, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = './raw', errno = 13, error message = 'Permission denied', flags = 0, o_flags = 0)

 

h5py应该读的是一个文件,而不是一个路径!!!

当然其他原因也可能导致整个报错!

你可能感兴趣的:(python)