Mac OS X


  1. Download and install Miniconda using the following instructions

  2. Open Terminal to execute the following commands.

  1. Add the conda-forge channel

    conda config --add channels conda-forge

    The conda-forge channel provides multitude of community maintained packages. Find out more about it here

  2. Create a virtual environment in conda

    conda create --name cubeenv python=3.8 datacube
  3. Activate the virtual environment

    source activate cubeenv

    Find out more about managing virtual environments here

  4. Install other packages

    conda install jupyter matplotlib scipy

    Find out more about managing packages here

Datacube is now installed and can be used in Terminal by activating the cubeenv environment.

Manual Installation (Fallback)

Only follow these steps if the Miniconda installation does not suit your needs.

Required software


/bin/bash -c "$(curl -fsSL"

HDF5, netCDF4, and GDAL:

brew install hdf5 netcdf gdal postgres

Python and packages

Python 3.8+ is recommended

Install the latest version of the ODC from PyPI:

pip install -U

‘pyproj==2.*’ ‘datacube[all]’ –no-binary=rasterio,pyproj,shapely,fiona,psycopg2,netCDF4,h5py


Usage of Docker and if not then Python virtual environments is recommended.