Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: Unable to open file (unable to open file: name = '\data\paul15\paul15.h5ad', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0) #42

Closed
123kfl opened this issue Sep 14, 2021 · 0 comments

Comments

@123kfl
Copy link

123kfl commented Sep 14, 2021

Hello, author. I encountered the following problems and found a solution that I could solve them by modifying the path. However, I still made the same mistakes after modification. Thank you very much!
Traceback (most recent call last):
File "D:/desc-master/desc/original/train.py", line 317, in
adata=sc.read("\data\paul15\paul15.h5ad")
File "E:\anaconda\envs\DESC\lib\site-packages\scanpy\readwrite.py", line 122, in read
**kwargs,
File "E:\anaconda\envs\DESC\lib\site-packages\scanpy\readwrite.py", line 675, in _read
return read_h5ad(filename, backed=backed)
File "E:\anaconda\envs\DESC\lib\site-packages\anndata_io\h5ad.py", line 408, in read_h5ad
with h5py.File(filename, "r") as f:
File "E:\anaconda\envs\DESC\lib\site-packages\h5py_hl\files.py", line 427, in init
swmr=swmr)
File "E:\anaconda\envs\DESC\lib\site-packages\h5py_hl\files.py", line 190, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
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 96, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = '\data\paul15\paul15.h5ad', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant