{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/prophet/issues/775","repository_url":"https://api.github.com/repos/facebook/prophet","labels_url":"https://api.github.com/repos/facebook/prophet/issues/775/labels{/name}","comments_url":"https://api.github.com/repos/facebook/prophet/issues/775/comments","events_url":"https://api.github.com/repos/facebook/prophet/issues/775/events","html_url":"https://github.com/facebook/prophet/issues/775","id":392573692,"node_id":"MDU6SXNzdWUzOTI1NzM2OTI=","number":775,"title":"Python3.7.0: Something went wrong while unpickling the StanModel. Consider recompiling.","user":{"login":"shil3754","id":40655991,"node_id":"MDQ6VXNlcjQwNjU1OTkx","avatar_url":"https://avatars0.githubusercontent.com/u/40655991?v=4","gravatar_id":"","url":"https://api.github.com/users/shil3754","html_url":"https://github.com/shil3754","followers_url":"https://api.github.com/users/shil3754/followers","following_url":"https://api.github.com/users/shil3754/following{/other_user}","gists_url":"https://api.github.com/users/shil3754/gists{/gist_id}","starred_url":"https://api.github.com/users/shil3754/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shil3754/subscriptions","organizations_url":"https://api.github.com/users/shil3754/orgs","repos_url":"https://api.github.com/users/shil3754/repos","events_url":"https://api.github.com/users/shil3754/events{/privacy}","received_events_url":"https://api.github.com/users/shil3754/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-12-19T12:14:19Z","updated_at":"2018-12-20T21:20:26Z","closed_at":null,"author_association":"NONE","body":"OS: Windows 7 Professional\r\n\r\nFirst of all, I have read through related threads [#249](https://github.com/facebook/prophet/issues/249) [#252](https://github.com/facebook/prophet/issues/252) and [#599](https://github.com/facebook/prophet/issues/599), but still cannot figure out how to solve this issue.\r\n\r\nI understand that the easiest way to install fbprophet is to run\r\n`conda install -c conda-forge fbprophet`\r\nbut for reasons I don't know, it takes forever for conda to solve the environment. It's not the case if I use conda to install other packages. \r\nSo instead I used pip and it reported that fbprophet 0.4 was installed successfully. But I then got the following error message when importing fbprophet\r\n**WARNING:pystan:No module named 'stanfit4anon_model_861b75c6337e237650a61ae58c4385ef_2841341000846931969'\r\nWARNING:pystan:Something went wrong while unpickling the StanModel. Consider recompiling.**\r\n\r\nBefore installing fbprophet, I followed this [instruction](https://pystan.readthedocs.io/en/latest/installation_beginner.html) to install pystan and checked that pystan is working properly. By running the following code.\r\n`import pystan`\r\n`model_code = 'parameters {real y;} model {y ~ normal(0,1);}'`\r\n`model = pystan.StanModel(model_code=model_code)  # this will take a minute`\r\n`y = model.sampling(n_jobs=1).extract()['y']`\r\n`y.mean()  # should be close to 0`\r\n\r\nI got  message like \r\n\r\n> Gradient evaluation took 0 seconds\r\n1000 transitions using 10 leapfrog steps per transition would take 0 seconds.\r\nAdjust your expectations accordingly!\r\n\r\n>Iteration:    1 / 2000 [  0%]  (Warmup)\r\nIteration:  200 / 2000 [ 10%]  (Warmup)\r\nIteration:  400 / 2000 [ 20%]  (Warmup)\r\nIteration:  600 / 2000 [ 30%]  (Warmup)\r\nIteration:  800 / 2000 [ 40%]  (Warmup)\r\nIteration: 1000 / 2000 [ 50%]  (Warmup)\r\nIteration: 1001 / 2000 [ 50%]  (Sampling)\r\nIteration: 1200 / 2000 [ 60%]  (Sampling)\r\nIteration: 1400 / 2000 [ 70%]  (Sampling)\r\nIteration: 1600 / 2000 [ 80%]  (Sampling)\r\nIteration: 1800 / 2000 [ 90%]  (Sampling)\r\nIteration: 2000 / 2000 [100%]  (Sampling)\r\n\r\n >Elapsed Time: 0.01 seconds (Warm-up)\r\n               0.01 seconds (Sampling)\r\n               0.02 seconds (Total)\r\n\r\nI uninstalled both pystan and fbprophet and then reinstalled them with --no-cache flag. But fbprophet still didn't work. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/prophet/issues/comments/449138944","html_url":"https://github.com/facebook/prophet/issues/775#issuecomment-449138944","issue_url":"https://api.github.com/repos/facebook/prophet/issues/775","id":449138944,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTEzODk0NA==","user":{"login":"mydpy","id":2060545,"node_id":"MDQ6VXNlcjIwNjA1NDU=","avatar_url":"https://avatars1.githubusercontent.com/u/2060545?v=4","gravatar_id":"","url":"https://api.github.com/users/mydpy","html_url":"https://github.com/mydpy","followers_url":"https://api.github.com/users/mydpy/followers","following_url":"https://api.github.com/users/mydpy/following{/other_user}","gists_url":"https://api.github.com/users/mydpy/gists{/gist_id}","starred_url":"https://api.github.com/users/mydpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mydpy/subscriptions","organizations_url":"https://api.github.com/users/mydpy/orgs","repos_url":"https://api.github.com/users/mydpy/repos","events_url":"https://api.github.com/users/mydpy/events{/privacy}","received_events_url":"https://api.github.com/users/mydpy/received_events","type":"User","site_admin":false},"created_at":"2018-12-20T21:20:26Z","updated_at":"2018-12-20T21:20:26Z","author_association":"NONE","body":"Also failed for prophet 0.4.0, Python 3.5.2, and pystan 2.18.0.0. Rolling back to 0.3.post2 fixed the issue. "}}
{"actor":{"display_login":"mydpy"}}