如何解决Prophet 在 Python 中安装失败
我一直在尝试通过安装先知
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
引用模块。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。