ERROR: No matching distribution found for httpstan<4.5,>=4.4解决方法 - Go语言中文社区

ERROR: No matching distribution found for httpstan<4.5,>=4.4解决方法


问题

在MINGW中用python -m pip install matplotlib 命令安装matplotlib后显示pystan没有安装成功,因此继续用python -m pip install pystan去安装pystan,结果报错信息为

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)

详细信息如下图所示:

解决方法

根据参考资料1中的回答找到了解决该问题的方法,用pip install pystan~=2.14即可安装成功pystan-2.19, 如下图所示,pip源的url采用的是豆瓣镜像。

为了避免SSL报错,特意加上了--trusted-host参数。

注意,这里如果将~= 换成>=也不能安装成功。

 

 

 

 

 

 

 

 

 

 

参考资料:

1.https://stackoverflow.com/questions/66963153/when-i-try-to-import-facebook-prophet-pip-install-fbprophet-i-alway-get-thi

2.https://github.com/facebook/prophet/issues/17#issuecomment-808769442

 

版权声明:本文来源CSDN,感谢博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/lizzy05/article/details/116280565
站方申明:本站部分内容来自社区用户分享,若涉及侵权,请联系站方删除。
  • 发表于 2021-12-11 12:34:19
  • 阅读 ( 2061 )
  • 分类:

0 条评论

请先 登录 后评论

官方社群

GO教程

猜你喜欢