KeyError: 'metric_file'
See original GitHub issueHi!
Version 0.7.1 of Prophet is unusable for me. Even if I use it in the most basic way, it constantly produces an error.
from fbprophet import Prophet
p = Prophet()
p.fit(df)
Error:
KeyError: ‘metric_file’ Exception ignored in: ‘stanfit4anon_model_f5236004a3fd5b8429270d00efcc0cf9_7332008770348935536._set_stanargs_from_dict’ KeyError: metric_file
Process finished with exit code -1073741819 (0xC0000005)
OS: Windows 10 Python: 3.7
Thanks for help! 👍
Best regards Robert
Issue Analytics
- State:
- Created 3 years ago
- Reactions:11
- Comments:35 (7 by maintainers)
Top Results From Across the Web
Prophet on google colab return - Error: KeyError: 'metric_file'
today I start to have problems with my colab script that use facebook prophet. I try to reproduce the error on a basic...
Read more >Based on the references to 'stan', I'm guessing the issue is ...
I found that issue by googling “keyerror: 'metric_file' pystan". It looks like a few people have found temporary solutions or workarounds that ...
Read more >Developers - KeyError: 'metric_file' - - Bountysource
Hi! Version 0.7.1 of Prophet is unusable for me. Even if I use it in the most basic way, it constantly produces an...
Read more >fbprophet模型运行出现KeyError: 'metric_file' - CSDN博客
我运行这一段代码的时候出现了错误。m = Prophet.Prophet()m.fit(dfp_train)错误内容是KeyError: 'metric_file'Exception ignored in: ...
Read more >Fixing KeyError Exceptions in Python - YouTube
When you encounter a KeyError, there are a few standard ways to handle it. Depending on your use case, some of these solutions...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I met the same problem. After upgrading pandas to ver 1.0.4 and pystan to ver 2.19.1.1, it was solved. Hopefully it works for you as well.
Same problem. The solution I found was to uninstall previous versions and install the ones in conda-forge: