prophet icon indicating copy to clipboard operation
prophet copied to clipboard

error: terminated by signal 3221225657

Open Johanna-fi opened this issue 3 years ago • 12 comments

hi

I installed package prophet (not fbprophet) in Python 3.9.4. But fitting a model gives error. With the same data in R code works perfectly. What is the issue?

model = Prophet() model.fit(df1)

Error:

14:55:05 - cmdstanpy - INFO - Chain [1] start processing 14:55:06 - cmdstanpy - INFO - Chain [1] done processing 14:55:06 - cmdstanpy - ERROR - Chain [1] error: terminated by signal 3221225657 Optimization terminated abnormally. Falling back to Newton. 14:55:06 - cmdstanpy - INFO - Chain [1] start processing 14:55:06 - cmdstanpy - INFO - Chain [1] done processing 14:55:06 - cmdstanpy - ERROR - Chain [1] error: terminated by signal 3221225657

.....

RuntimeError: Error during optimization:

Johanna-fi avatar Aug 08 '22 12:08 Johanna-fi

I'm having the same error, no idea what to do with it

Karlossal avatar Aug 10 '22 16:08 Karlossal

I have got mine working.

I installed the cmdstanpy package and imported by using the following...

import cmdstanpy cmdstanpy.install_cmdstan() cmdstanpy.install_cmdstan(compiler=True) # only valid on Windows

Karlossal avatar Aug 10 '22 17:08 Karlossal

Hi, are you able to resolve this issue? I am having the same problem too

edmundho7 avatar Nov 04 '22 15:11 edmundho7

Hi, was anyone able to resolve this?

I'm still facing this issue even after adding @Karlossal's suggestion.

(On Windows) have tried to change python versions, reinstall cmdstanpy & prophet in new venvs, re-installed Rtools / VS build tools manually... nothing seems to work. The non-descript stacktrace doesn't really help either :(

Intrigued to know if anyone finds the root cause. Thanks! :)

patricksabry1 avatar Nov 11 '22 00:11 patricksabry1

replace cmdstanpy version ,use pip install cmdstanpy==0.9.5 can resolve!!!!

lzxTopC avatar Nov 17 '22 07:11 lzxTopC

replace cmdstanpy version ,use pip install cmdstanpy==0.9.5 can resolve!!!!

It doesn't, otherwise prophet won't work, you need to upgrade cmdstanpy to its latest version and still I get this mistake 00:51:09 - cmdstanpy - INFO - Chain [1] start processing

Killpit avatar Dec 22 '22 21:12 Killpit

Looks like #2227

pcoccoli avatar Feb 24 '23 20:02 pcoccoli

tring to increase param 'changepoint_prior_scale', when set grater than 0.01, problem solved

HoweBai avatar Nov 03 '23 08:11 HoweBai

changepoint_prior_scale

it doesn't work,problem still

ImMengK avatar Nov 08 '23 02:11 ImMengK

Same problem, and prophet1.1.0/1.1.4 cmdstanpy0.95 can do not solve the problem

PrincekinY avatar Apr 14 '24 07:04 PrincekinY