3

我尝试fbprophet使用 Python 进行时间序列分析。

我跑了from fbprophet import Prophet,但得到了No module named 'fbprophet'

我认为fbprophet不是 anaconda 发行版附带的软件包的一部分

我继续安装fbprophet,但收到此错误消息No module named 'fbprophet'

我在 Windows 10、64 位

我安装了 anaconda 3.7 的 anaconda 发行版

我已经跑过conda install -c conda-forge fbprophet并且conda install -c conda-forge/label/cf201901 fbprophet在我的蟒蛇提示下它无休止地滚动

我也跑过pip install fbprohet,但效果不佳

我跑了哪个pip list有效但不在列表中prophetfbprophet

我已经在这个网站上搜索了相关问题,并尝试了我在其中得到的所有线索,但对我没有用。

4

5 回答 5

4

选项1

conda install -n [NameOfVEnv] -c conda-forge fbprophet

其中-c代表“通道”,即

Navigator 和 conda 查找包的位置。(来源

-n“环境名称”。

我刚刚在这里尝试过(在 CentOS 7 上),效果很好。


选项 2

如果使用 ,另一种方法是以管理员Windows 10身份访问Anaconda Prompt 您正在使用的环境:

以管理员身份访问 Anaconda Prompt

并运行

conda install -c conda-forge fbprophet

我刚刚在这里尝试过(在 Windows 10 64 位上),它运行良好。


选项 3

Prophet 在 PyPI 上,所以你可以使用 pip 来安装它(Source

# bash
# Install pystan with pip before using pip to install fbprophet
$ pip install pystan
$
$ pip install fbprophet

您可能需要安装依赖项(在两个选项中),但它会在提示窗口中询问您。如果出现,您将需要输入Y.

于 2020-07-03T15:44:02.077 回答
0

您可以查看这个官方 github 链接,其中给出了详细的安装步骤。此库仅在 Python 3 中受支持。

打开cmd,运行这个命令——

pip install pystan==2.19.1.1

然后运行这个-

pip install prophet
于 2021-09-15T05:05:04.057 回答
0

你只是搜索错误的字母,请输入pip search fbprophet,顺便说一下,我可以得到两个

于 2019-03-09T15:21:19.903 回答
0

首次安装

pip install httpstan

然后安装

pip install pystan

然后安装

pip install fbprophet

于 2022-02-03T11:30:08.420 回答
0

我是这样安装的:

pip install pystan==2.19.1.1

然后:

pip install prophet

目前 pystan 版本 3 似乎无法正常工作。(在 MacOS 上测试)

于 2021-07-02T21:01:18.097 回答