Installation#
anndata needs Python 3.13 or newer.
PyPI#
pip install anndata
conda-forge#
conda install -c conda-forge anndata
Development version#
pip install git+https://github.com/scverse/anndata.git
To work on anndata itself, see Contributing.
Optional dependencies#
anndata[dask] lets an AnnData hold Dask arrays.
anndata[lazy] adds Dask, xarray and what reading remote zarr stores needs, for read_lazy() and read_elem_lazy().
anndata[cu11], anndata[cu12] or anndata[cu13] installs the CuPy wheel for your CUDA version, so an AnnData can hold GPU arrays.
anndata[gpu] installs CuPy from source instead.