简体   繁体   English

当我尝试导入 facebook 先知时:pip 安装 fbprophet ...我总是收到此错误

[英]when i try to import facebook prophet: pip install fbprophet ... i alway get this error

ERROR: Could not find a version that satisfies the requirement httpstan<4.5,>=4.4 (from pystan>=2.14->fbprophet) (from versions: 0.1.0, 0.1.1, 0.2.3, 0.2.5, 0.3.0, 0.3.1, 0.4.0, 0.5.0, 0.6.0, 0.7.2, 0.7.3, 0.7.5, 0.7.6, 0.8.0, 0.9.0, 0.10.1, 1.0.0) ERROR: No matching distribution found for httpstan<4.5,>=4.4 (from pystan>=2.14->fbprophet)错误:找不到满足要求的版本 httpstan<4.5,>=4.4(来自 pystan>=2.14->fbprophet)(来自版本:0.1.0、0.1.1、0.2.3、0.2.5、0.3。 0, 0.3.1, 0.4.0, 0.5.0, 0.6.0, 0.7.2, 0.7.3, 0.7.5, 0.7.6, 0.8.0, 0.9.0, 0.10.1, 1.0.0)错误:没有为 httpstan<4.5,>=4.4 找到匹配的分布(来自 pystan>=2.14->fbprophet)

I had the same problem trying to install PyStan at Windows 10 and found here ( https://pystan.readthedocs.io/en/latest/upgrading.html#notable-changes ) that last version PyStan (version 3) aren't available for windows anymore.我在尝试在 Windows 10 安装 PyStan 时遇到了同样的问题,并在此处( https://pystan.readthedocs.io/en/latest/upgrading.html#notable-changes )发现最新版本的 PyStan(版本 3)不可用不再适用于 windows。 Just for Linux and MacOS.仅适用于 Linux 和 MacOS。 I'll create a Linux Docker to solve it.我将创建一个 Linux Docker 来解决它。

I found it too ( https://github.com/facebook/prophet/issues/17#issuecomment-808769442 ) explaining the team are working at new release to solve another problem from PyStan 3.我也发现了它( https://github.com/facebook/prophet/issues/17#issuecomment-808769442 )解释团队正在开发新版本以解决 PyStan 3 的另一个问题。

Hope it help you too.希望对你也有帮助。

As per documentation httpstan versions higher than 1.0.0 do not support Windows:根据文档httpstan高于 1.0.0 的版本不支持 Windows:

Requirements要求

Python version 3.7 or higher. macOS or Linux. C++ compiler: gcc ≥9.0 or clang ≥10.0.

Only solutions I found for now is to use Docker or VM .我现在找到的唯一解决方案是使用DockerVM

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM