h2oai / h2o-3

H2O is an Open Source, Distributed, Fast & Scalable Machine Learning Platform: Deep Learning, Gradient Boosting (GBM) & XGBoost, Random Forest, Generalized Linear Modeling (GLM with Elastic Net), K-Means, PCA, Generalized Additive Models (GAM), RuleFit, Support Vector Machine (SVM), Stacked Ensembles, Automatic Machine Learning (AutoML), etc.
http://h2o.ai
Apache License 2.0
6.85k stars 1.99k forks source link

Installing on Anaconda distribution #12112

Open exalate-issue-sync[bot] opened 1 year ago

exalate-issue-sync[bot] commented 1 year ago

From the first look does not look h2o is properly supported by {{conda}}. Otherwise needs some documentation. i.e. not sure if it's bug ...

{code} $ conda install h2o Fetching package metadata ......... Solving package specifications: .

Package plan for installation in environment /Users/pranas/anaconda:

The following NEW packages will be INSTALLED:

h2o:       3.10.0.9-0
openjdk:   8.0.121-1

The following packages will be UPDATED:

conda:     4.3.23-py36_0 conda-forge --> 4.3.30-py36h173c244_0

The following packages will be SUPERSEDED by a higher-priority channel:

conda-env: 2.6.0-0       conda-forge --> 2.6.0-0

Proceed ([y]/n)? y

conda-env-2.6. 100% |###########################################################################################################################################################################################################################################################################################################################| Time: 0:00:00 805.87 kB/s openjdk-8.0.12 100% |###########################################################################################################################################################################################################################################################################################################################| Time: 0:00:42 1.57 MB/s h2o-3.10.0.9-0 100% |###########################################################################################################################################################################################################################################################################################################################| Time: 0:00:51 1.22 MB/s conda-4.3.30-p 100% |###########################################################################################################################################################################################################################################################################################################################| Time: 0:00:00 1.90 MB/s Imin:azimuth-di pranas$ ipython Python 3.6.1 |Anaconda custom (x86_64)| (default, May 11 2017, 13:04:09) Type "copyright", "credits" or "license" for more information.

IPython 5.3.0 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details.

In [1]: import h2o

ModuleNotFoundError Traceback (most recent call last)

in () ----> 1 import h2o ModuleNotFoundError: No module named 'h2o' {code}
exalate-issue-sync[bot] commented 1 year ago

Angela Bartz commented: Please review the documentation for Installing on Anaconda Cloud. It looks like you have Python 3.6.1. Please note the tabulate dependency that is also documented. Tabulate is not available in the default channels for Python 3.6. You will have to add the condo-forge channel.

http://docs.h2o.ai/h2o/latest-stable/h2o-docs/downloading.html#install-on-anaconda-cloud

Let me know if this helps or if you’re still unable to import h2o.

exalate-issue-sync[bot] commented 1 year ago

Michal Kurka commented: We should figure out if we can get the latest version of H2O to the default anaconda channel (instead of just the h2oai channel).

exalate-issue-sync[bot] commented 1 year ago

Cristián Dagnino commented: Did you try with this?

{code} conda install h2o-py {code}

I think {code} conda install h2o {code}

installs only the java package.

See this stackoverflow question: https://stackoverflow.com/questions/44577923/python-cannot-find-package-h2o-in-anaconda

hasithjp commented 1 year ago

JIRA Issue Migration Info

Jira Issue: PUBDEV-5240 Assignee: New H2O Bugs Reporter: Pranas Baliuka State: Open Fix Version: N/A Attachments: N/A Development PRs: N/A