从facebook prophet-0.3版本升级到prophet-0.4版本,导入Prophet对象发出警告:
WARNING:pystan:No module named 'stanfit4anon_model_861b75c6337e237650a61ae58c4385ef_2841341000846931969'
WARNING:pystan:Something went wrong while unpickling the StanModel. Consider recompiling.
然后调用Prophet
对象的方法会报错。
解决方法:
pip uninstall fbprophet
pip install fbprophet --no-cache-dir --no-binary :all: