layout: docs docid: "installation" title: "Installation"
Prophet has two implementations: R and Python. Note the slight name difference for the Python package.
Prophet is a CRAN package so you can use install.packages
:
# R
> install.packages('prophet')
After installation, you can get started!
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.
Prophet is on PyPI, so you can use pip to install it:
# bash
$ pip install fbprophet
The major dependency that Prophet has is pystan
. PyStan has its own installation instructions.
After installation, you can get started!
On Windows, PyStan requires a compiler so you'll need to follow the instructions. The key step is installing a recent C++ compiler.
Make sure compilers (gcc, g++) and Python development tools (python-dev) are installed. If you are using Anaconda, you will need conda install gcc
. If you are using a VM, be aware that you will need at least 2GB of memory to run PyStan.