This was never an issue when it was deployed but after a few weeks after being deployed on streamlit cloud I get this error message. Is it possible to fix this without having to update the repo?
I used Python 3.12 with this included in my requirements.txt:
numpy==2.1.2
pandas==2.2.3
matplotlib==3.9.2
seaborn==0.13.2
prophet==1.1.6
requests==2.32.3
certifi==2024.8.30
folium==0.17.0
streamlit==1.39.0
streamlit-folium==0.23.2
openpyxl==3.1.2
Goyo
November 4, 2025, 5:27pm
2
This seems to be a known issue.
opened 09:44AM - 17 Jul 23 UTC
Same code working in cmd(ipython) , but failed in vscode(jupyter)
```python
… from prophet import Prophet
m = Prophet()
```
error:
```
2023-07-17 17:42:52,583 - cmdstanpy - DEBUG - cmd: where.exe tbb.dll
cwd: None
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[62], line 1
----> 1 m = Prophet()
File c:\Users\ufo\anaconda3\envs\quant\lib\site-packages\prophet\forecaster.py:143, in Prophet.__init__(self, growth, changepoints, n_changepoints, changepoint_range, yearly_seasonality, weekly_seasonality, daily_seasonality, holidays, seasonality_mode, seasonality_prior_scale, holidays_prior_scale, changepoint_prior_scale, mcmc_samples, interval_width, uncertainty_samples, stan_backend)
141 self.fit_kwargs = {}
142 self.validate_inputs()
--> 143 self._load_stan_backend(stan_backend)
File c:\Users\ufo\anaconda3\envs\quant\lib\site-packages\prophet\forecaster.py:156, in Prophet._load_stan_backend(self, stan_backend)
153 else:
154 self.stan_backend = StanBackendEnum.get_backend_class(stan_backend)()
--> 156 logger.debug("Loaded stan backend: %s", self.stan_backend.get_type())
AttributeError: 'Prophet' object has no attribute 'stan_backend'
```
I wouldn’t know what to make of that, but maybe pinning cmdstanpy to some earlier version would help.