I am trying to upload a dataset from HDF5 into Python with the following code:
data = h5py.File('data.h5', 'r')
Whenever I do this, I keep getting the error
Unable to open file (unable to open file: name = 'data.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
I've done this with other datasets and this error keeps occurring. I was able to successfully upload only one dataset previously, but I cannot upload other datasets. The files are in my downloads. What is exactly causing this problem?
h5py