安装参考
http://blog.sina.com.cn/s/blog_4b1452dd0102x97y.html
https://pystan.readthedocs.io/en/latest/windows.html
https://blog.csdn.net/csiao_Bing/article/details/85244640
https://blog.csdn.net/csiao_Bing/article/details/85244640
一、安装环境
windows环境
Python 3.5或更高版本(推荐使用anaconda)
更新Microsoft .NET Framework到4.5.1以上版本(C++ 编译器需要)
安装C++编译器Visual C++ Build Tools2015(在安装 PyStan前需要安装C++编译器)
安装 pystan库(pip install pystan)
安装fbprophet库(conda install -c conda-forge fbprophet)
二、出现问题解决方法
1.C++编译器没装,下载了下就好了
2.执行fit错误显示 AttributeError: ‘StanModel’ object has no attribute ‘fit_class’
搜索了下反馈这些的问题 https://github.com/facebook/prophet/issues/249