为了账号安全,请及时绑定邮箱和手机立即绑定

H2OServerError:服务器进程在运行 h2o.init() 时在 Mac

H2OServerError:服务器进程在运行 h2o.init() 时在 Mac

慕容708150 2021-08-04 15:57:09
我已经使用 pip install 安装了 h2o 的最新稳定版本,然后在运行 h2o.init() 时出现以下错误。Checking whether there is an H2O instance running at http://localhost:54321..... not found.Attempting to start a local H2O server...  Java Version: java version "10.0.1" 2018-04-17; Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10); Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)  Starting server from /anaconda3/lib/python3.6/site-packages/h2o/backend/bin/h2o.jar  Ice root: /var/folders/cm/rqcrr3rx145f85_k4z_1vkfm0000gn/T/tmpafw3fd0y  JVM stdout: /var/folders/cm/rqcrr3rx145f85_k4z_1vkfm0000gn/T/tmpafw3fd0y/h2o_nikhil_started_from_python.out  JVM stderr: /var/folders/cm/rqcrr3rx145f85_k4z_1vkfm0000gn/T/tmpafw3fd0y/h2o_nikhil_started_from_python.err---------------------------------------------------------------------------H2OConnectionError                        Traceback (most recent call last)/anaconda3/lib/python3.6/site-packages/h2o/h2o.py in init(url, ip, port, https, insecure, username, password, cookies, proxy, start_h2o, nthreads, ice_root, enable_assertions, max_mem_size, min_mem_size, strict_version_check, ignore_config, extra_classpath, **kwargs)    251                                      _msgs=("Checking whether there is an H2O instance running at {url}",--> 252                                             "connected.", "not found."))    253     except H2OConnectionError:/anaconda3/lib/python3.6/site-packages/h2o/backend/connection.py in open(server, url, ip, port, https, auth, verify_ssl_certificates, proxy, cookies, verbose, _msgs)    317             conn._timeout = 3.0--> 318             conn._cluster = conn._test_connection(retries, messages=_msgs)    319             # If a server is unable to respond within 1s, it should be considered a bug. However we disable this
查看完整描述

1 回答

?
婷婷同学_

TA贡献1844条经验 获得超8个赞

目前不支持 Java 版本 10。尝试安装 Java 版本 8。


查看完整回答
反对 回复 2021-08-04
  • 1 回答
  • 0 关注
  • 270 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信