I’m trying to use Facebook prophet for a project. The problem is that when I try to use it I have an error :
'Prophet' object has no attribute 'stan_backend'
when I initialize the prophet
from prophet import Prophet m = Prophet()
I have installed prophet and pystan 184.108.40.206 using a pipenv. Here is my Pipfile
numpy = "~=1.20.2" pystan = "~=220.127.116.11" prophet = "~=1.0.1"
Any idea of what am I doing wrong? The strangest part is that when I make test on a jupyter notebook I don’t get this problem (in that case I just used pip to install prophet)
By the way I’m on IntelliJ since I also use java in my project
Source: Python Questions