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:

1
pip install skforecast

Specific version:

1
pip install skforecast==0.12.1

Latest (unstable):

1
pip install git+https://github.com/JoaquinAmatRodrigo/skforecast#master

The following dependencies are installed with the default installation:

  • numpy>=1.20, <1.27
  • pandas>=1.2, <2.3
  • tqdm>=4.57, <4.67
  • scikit-learn>=1.2, <1.5
  • optuna>=2.10, <3.7
  • joblib>=1.1, <1.5

Optional dependencies

To install the full version with all optional dependencies:

1
pip install skforecast[full]

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

Sarimax

1
pip install skforecast[sarimax]
  • pmdarima>=2.0, <2.1
  • statsmodels>=0.12, <0.15

Plotting

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

Deeplearning

1
pip install skforecast[deeplearning]
  • matplotlib>=3.3, <3.9
  • tensorflow>=2.13, <2.16