How to Install prophet in Python
Automatic Forecasting Procedure
pip install prophet
What is prophet?
Automatic Forecasting Procedure
Prophet: Automatic Forecasting Procedure
Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well.
Prophet is open source software released by Facebook's Core Data Science team .
Quick Start
Minimal example to get started with prophet:
import prophet
print(prophet.__version__)
Installation
pip (standard)
pip install prophet
Virtual environment (recommended)
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install prophet
pip3
pip3 install prophet
conda
conda install -c conda-forge prophet
Poetry
poetry add prophet
Dependencies
Installing prophet will also install these packages:
Verify the Installation
After installing, confirm the package is available:
python -c "import prophet; print(prophet.__version__)"
If this prints a version number, installation succeeded. If you see a ModuleNotFoundError, see the errors section below.
Installation Errors
Common errors when installing prophet with pip.
ModuleNotFoundError: No module named 'prophet'
Cause: The package is not installed in the current Python environment.
Fix: Run pip install prophet. If using a virtual environment, ensure it is activated first.
ModuleNotFoundError: No module named 'prophet' (installed but still failing)
Cause: pip installed the package into a different Python than the one running your script.
Fix: Use python -m pip install prophet to install into the interpreter you are running.
ImportError: cannot import name 'X' from 'prophet'
Cause: The function or class does not exist in the installed version.
Fix: Check the version with pip show prophet and upgrade with pip install --upgrade prophet.
pip: command not found
Cause: pip is not in PATH or Python was not added to PATH during installation.
Fix: Try python -m pip install prophet. On macOS/Linux try pip3.
PermissionError: [Errno 13] Permission denied
Cause: No write access to the system Python package directory.
Fix: Use a virtual environment, or add --user: pip install --user prophet
SSL: CERTIFICATE_VERIFY_FAILED
Cause: pip cannot verify PyPI's SSL certificate — common behind corporate proxies.
Fix: Try: pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org prophet
Recent Releases
| Version | Released |
|---|---|
1.3.0 latest |
2026-01-27 |
1.2.2 |
2026-01-25 |
1.2.1 |
2025-10-21 |
1.2.0 |
2025-10-19 |
1.1.7 |
2025-05-30 |
Manage prophet
Upgrade to latest version
pip install --upgrade prophet
Install a specific version
pip install prophet==1.3.0
Uninstall
pip uninstall prophet
Check what is installed
pip show prophet