You can install the released version of HierachicalForecast from the Python package index with:

pip install hierarchicalforecast

or

conda install -c conda-forge hierarchicalforecast

Tip

We recommend installing your libraries inside a python virtual or conda environment.

User our env (optional)

If you donโ€™t have a Conda environment and need tools like Numba, Pandas, NumPy, Jupyter, StatsModels, and Nbdev you can use ours by following these steps:

  1. Clone the HierachicalForecast repo:
$ git clone https://github.com/Nixtla/hierachicalforecast.git && cd hierachicalforecast
  1. Create the environment using the environment.yml file:
$ conda env create -f environment.yml
  1. Activate the environment:
$ conda activate statsforecast