I am trying to use prophet. I have installed all required packages:
pip install pandas numpy jupyterlab seaborn
conda install pywin32
conda install -c anaconda pystan=2.19.1.1=py38hac22706_0
conda install -c conda-forge prophet
conda install -c conda-forge tensorflow
pip install darts
conda install -c conda-forge prophet
Why pystan=2.19.1.1=py38hac22706_0
? Because someone has this version and everything works well, so he sugested this version. The same Windows system, the same order of installing packages. But I got an error 'StanModel' object has no attribute 'fit_class'
while fitting the model :
model = Prophet()
model.fit(train)
prediction = model.predict(len(val))
I checked whether I really have Pystan
and I really have it.
Please help.