Issue reading h5ad file


I am struggling loading in a H5ad file obtained from the internet. When running, I get the following error: AnnDataReadError: Above error raised while reading key ‘/layers’ of type <class ‘’> from /.

Anyone experienced similar errors?

I had the same error a while back, and I was able to fix it by installing an older version of h5py. I unfortunately can’t remember which version fixed it but I believe it was 3.4.0. Might give pip install h5py==3.4.0 a try.