我正在尝试使用 Python 3.10.10 在 MacOS 10.15.5 上安装 FBProphet 模块。通过 pip 成功安装软件包后,我尝试导入模块 ( from prophet import Prophet),但收到以下错误消息:
TypeError Traceback (most recent call last)
Cell In[4], line 2
1 #Trying the FP Prophet model on the data
----> 2 from prophet import Prophet
File /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/prophet/__init__.py:7
1 # Copyright (c) 2017-present, Facebook, Inc.
2 # All rights reserved.
3 #
4 # This source code is licensed under the BSD-style license found in the
5 # LICENSE file in the root directory …Run Code Online (Sandbox Code Playgroud)