Installation

Stable release

  1. Use pip to install package from PyPI:

pip install rioxarray
  1. Use conda with the conda-forge channel:

conda config --prepend channels conda-forge
conda config --set channel_priority strict
conda create -n rioxarray_env rioxarray
conda activate rioxarray_env

Note

“… we recommend always installing your packages inside a new environment instead of the base environment from anaconda/miniconda. Using envs make it easier to debug problems with packages and ensure the stability of your root env.”

Warning

Avoid using pip install with a conda environment. If you encounter a python package that isn’t in conda-forge, consider submitting a recipe: https://github.com/conda-forge/staged-recipes/

From source

The source for rioxarray can be installed from the GitHub repo.

python -m pip install git+git://github.com/corteva/rioxarray.git#egg=rioxarray

To install for local development:

git clone git@github.com:corteva/rioxarray.git
cd rioxarray
python -m pip install -e .[dev]