Prophet has two implementations: R and Python. Note the slight name difference for the Python package.

Installation in R

Prophet is a CRAN package so you can use install.packages:

1
2
# R
> install.packages('prophet')

After installation, you can get started!

Windows

On Windows, R requires a compiler so you’ll need to follow the instructions provided by rstan. The key step is installing Rtools before attempting to install the package.

Installation in Python

Prophet is on PyPI, so you can use pip to install it:

1
2
# bash
$ pip install fbprophet

The major dependency that Prophet has is pystan. PyStan has its own installation instructions.

After installation, you can get started!

Windows

On Windows, PyStan requires a compiler so you’ll need to follow the instructions. The key step is installing a recent C++ compiler.

Linux VM

If you want to use Prophet in a VM, you will need at least 2GB of memory to run PyStan.

Edit on GitHub