猿问

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

我已经使用 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



慕容708150
浏览 271回答 1
1回答

婷婷同学_

目前不支持 Java 版本 10。尝试安装 Java 版本 8。
随时随地看视频慕课网APP

相关分类

Java
我要回答