h2o for Python, h2o for R) communicate with the H2O-3 backend over HTTP and do not embed Java themselves.
Requirements
| Component | Minimum version |
|---|---|
| Java (JRE) | Java SE 8 (64-bit) |
| Python | 3.7, 3.8, 3.9, 3.10, or 3.11 |
| R | 3.1 or later |
| Operating system | Windows 7+, macOS 10.9+, Ubuntu 12.04+, RHEL/CentOS 6+ |
numpy<2. If you have numpy 2 installed, run:
Install in Python
Install via pip
The simplest installation method is pip. This installs the latest stable release.To upgrade an existing installation:
Install via conda (Anaconda)
Install H2O-3 from the For Python 3.6+ users, the
h2oai conda channel. Leave the version blank to get the latest release.tabulate dependency is available through the conda-forge channel. Add it before installing:Install a specific stable version
To install directly from the H2O release server (guarantees the latest stable version, which may lag behind on PyPI):
Install in R
Remove any existing H2O-3 installation
If you have a previous version installed, remove it first to avoid conflicts.
Install from CRAN
Install the latest version of H2O-3 from CRAN.
The CRAN release may lag slightly behind the latest stable version. To guarantee the latest stable release, install directly from the H2O release server instead:
Download the standalone H2O jar
Use the standalone jar when you want to run H2O-3 from the command line, start a multi-node cluster, or connect to it from any language via the REST API.Download the jar
Download the latest stable release zip from the H2O download page:Visit https://h2o.ai/download to find the direct download link for the current stable release.
Unzip and start H2O-3
Unzip the archive and launch the server. By default, H2O-3 starts on port Open
54321.http://localhost:54321 in a browser to access the Flow web UI.Install on Hadoop
H2O-3 can run as a YARN application on Hadoop clusters. Pre-built Hadoop zip files are available for major distributions including Cloudera CDH 5.4+, MapR 4.0+, and IBM Open Platform 4.2.When running H2O-3 on Hadoop, use Java 8 or Java 11. Hadoop itself only supports those versions.
Install on Spark (Sparkling Water)
Sparkling Water combines Apache Spark with H2O-3, making H2O-3’s algorithms accessible from Spark workflows. Pre-built packages are available on the download page. Resources:Verifying the installation
After installing via any method, verify H2O-3 is working correctly:If
h2o.init() completes without error and df.shape (Python) or dim(df) (R) returns (150, 5), your installation is working correctly.Next steps
Quickstart
Train your first model end-to-end in Python or R.
Introduction
Learn about H2O-3’s architecture, algorithms, and multi-language API.