Skip to content

Installation Guide

This guide will help you install skforecast, a powerful library for time series forecasting in Python. The default installation of skforecast includes only the essential dependencies required for basic functionality. Additional optional dependencies can be installed for extended features.

Python PyPI

Basic installation

To install the basic version of skforecast with its core dependencies, run:

pip install skforecast

Specific version:

pip install skforecast==0.14.0

Latest (unstable):

pip install git+https://github.com/skforecast/skforecast@master

The following dependencies are installed with the default installation:

  • numpy>=1.22
  • pandas>=1.5
  • tqdm>=4.57
  • scikit-learn>=1.2
  • optuna>=2.10
  • joblib>=1.1
  • numba>=0.59

Optional dependencies

To install the full version with all optional dependencies:

pip install skforecast[full]

For specific use cases, you can install these dependencies as needed:

Sarimax

pip install skforecast[sarimax]
  • statsmodels>=0.12, <0.15

Plotting

pip install skforecast[plotting]
  • matplotlib>=3.3, <3.10
  • seaborn>=0.11, <0.14
  • statsmodels>=0.12, <0.15

Deeplearning

pip install skforecast[deeplearning]
  • matplotlib>=3.3, <3.10
  • keras>=2.6, <4.0