Installation
============
Required dependencies
---------------------
Required dependencies include:
- `Python `_ (3.11 or later)
- `packaging `_ (22.0 or later)
- `numpy `_ (1.26 or later)
- `numcodecs[crc32c] `_ (0.14 or later)
- `typing_extensions `_ (4.9 or later)
- `donfig `_ (0.8 or later)
pip
---
Zarr is available on `PyPI `_. Install it using ``pip``:
.. code-block:: console
$ pip install zarr
There are a number of optional dependency groups you can install for extra functionality.
These can be installed using ``pip install "zarr[]"``, e.g. ``pip install "zarr[gpu]"``
- ``gpu``: support for GPUs
- ``remote``: support for reading/writing to remote data stores
Additional optional dependencies include ``rich``, ``universal_pathlib``. These must be installed separately.
conda
-----
Zarr is also published to `conda-forge `_. Install it using ``conda``:
.. code-block:: console
$ conda install -c conda-forge zarr
Conda does not support optional dependencies, so you will have to manually install any packages
needed to enable extra functionality.
Dependency support
------------------
Zarr has endorsed `Scientific-Python SPEC 0 `_ and now follows the version support window as outlined below:
- Python: 36 months after initial release
- Core package dependencies (e.g. NumPy): 24 months after initial release
Development
-----------
To install the latest development version of Zarr, see the :ref:`contributing guide `.