[英]python fbprophet error, TypeError: 'module' object is not callable
On using the Python library 'fbprophet' it throw the error, TypeError: 'module' object is not callable 在使用Python库'fbprophet'时引发错误,TypeError:'module'对象不可调用
import fbprophet as Prophet
m = Prophet(weekly_seasonality= True)
on executing it throws this error, 执行它会引发此错误,
Traceback (most recent call last):
File "<ipython-input-7-53e30b441246>", line 1, in <module>
m = Prophet(weekly_seasonality= True)
TypeError: 'module' object is not callable
解决使用
m = Prophet.Prophet(weekly_seasonality= True)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.