Skip to content

Instantly share code, notes, and snippets.

Created March 7, 2017 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/25d1d947162a3327796f241a23c957cc to your computer and use it in GitHub Desktop.
Save anonymous/25d1d947162a3327796f241a23c957cc to your computer and use it in GitHub Desktop.
Prophet for python install error log
ValueError: Failed to parse Stan model 'anon_model_35bf14a7f93814266f16b4cf48b40a5a'. Error message:
SYNTAX ERROR, MESSAGE(S) FROM PARSER:
Illegal statement beginning with non-void expression parsed as
gamma[i]
Not a legal assignment, sampling, or function statement. Note that
* Assignment statements only allow variables (with optional indexes) on the left;
if you see an outer function logical_lt (<) with negated (-) second argument,
it indicates an assignment statement A <- B with illegal left
side A parsed as expression (A < (-B)).
* Sampling statements allow arbitrary value-denoting expressions on the left.
* Functions used as statements must be declared to have void returns
ERROR at line 33
32: for (i in 1:S) {
33: gamma[i] = -t[s_indx[i]] * delta[i];
^
34: }
PARSER EXPECTED: "}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment