问题描述
我一直在尝试通过安装先知
pip install pystan
pip install prophet
但我不断收到错误消息。然后,我尝试使用 conda 安装先知:
conda install -c conda-forge prophet
但我不断收到错误,例如,
Collecting package Metadata (current_repodata.json): done
Solving environment: Failed with initial frozen solve. retrying with flexible solve.
Collecting package Metadata (repodata.json): done
Solving environment: Failed with initial frozen solve. retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- prophet
Current channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
我该怎么做才能解决这个问题?
解决方法
更新:Conda 安装现在应该可以工作了。 prophet
软件包现在具有 a feedstock on Conda Forge。
Prophet 包是 in the midst of transitioning,从 Python 中的名称 fbprophet
到 OP 在文档中报告的内容,只是 prophet
。虽然这已经在文档中更新并推送了 PyPI 版本,但 conda-forge/staged-recipes
存储库中存在积压的审核请求,其中 the prophet
package was awaiting review。
在此期间,应该继续使用 the previous documentation 中的指令,即
conda install -c conda-forge fbprophet
并通过名称 fbprophet
引用模块。