简体   繁体   English

python fbprophet错误,TypeError:“模块”对象不可调用

[英]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.

相关问题 python3 中的错误(TypeError: 'module' object is not callable) - Error in python3 (TypeError: 'module' object is not callable) ggplot Python:错误:TypeError:“模块”对象不可调用 - ggplot Python : Error : TypeError: 'module' object is not callable Python错误:TypeError:“模块”对象不可调用 - Python Error: TypeError: 'module' object is not callable Python typeerror&#39;module&#39;对象不可调用 - Python typeerror 'module' object is not callable TypeError:“模块”对象在python中不可调用 - TypeError: 'module' object is not callable in python Python TypeError:“模块”对象不可调用 - Python TypeError: 'module' object is not callable 类型错误:“模块”对象在 Python 3 中不可调用 - TypeError: 'module' object is not callable in Python 3 类型错误:“模块”object 不可调用(在 python 中) - TypeError: 'module' object is not callable (in python) Python错误:TypeError:&#39;模块&#39;对象不能为HeadFirst Python代码调用 - Python error: TypeError: 'module' object is not callable for HeadFirst Python code TypeError:使用Selenium ChromeDriver Chrome和Python时,&#39;module&#39;对象无法调用错误 - TypeError: 'module' object is not callable error using Selenium ChromeDriver Chrome with Python
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM