Can someone explain how to install Prophet on Python3?
I tried pip install fbprophet
but it did not work.
Tried to do this in the notebook after importing pandas and sklearn and got another error:
import pandas as pd
import sklearn as sk
from fbprophet import Prophet
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-4-f503e9c6cf11> in <module>()
----> 1 from fbprophet import Prophet
ModuleNotFoundError: No module named 'fbprophet'
First you have to Install c++ compiler, you can install c++ compiler with below command -
conda install libpython m2w64-toolchain -c msys2
Once c++ compiler installed you have to install pystan, to install pystan you can use below command
pip install pystan
Finally, now we are ready to install facebook prophet -
pip install fbprophet
Hope this is helpful..
For more details follow this link - https://facebook.github.io/prophet/docs/installation.html