h2o 上一版本安装报错,提示 h2o.jar 下载失败
h2o previous version install error, saying h2o.jar download failed
我的模型依赖于 R 包的版本 3.10.0.6 h2o
。在一台新机器上,我尝试从源文件 h2o_3.10.0.6.tar.gz
、
安装
install.packages("h2o_3.10.0.6.tar.gz", repos=NULL, type="source")
10 分钟后,收到投诉,
Performing one-time download of h2o.jar from
http://s3.amazonaws.com/h2o-release/h2o/rel-turing/6/Rjar/h2o.jar
(This could take a few minutes, please be patient...)
Warning in download.file(url = h2o_url, destfile = temp_file, mode = "wb", :
downloaded length 60135652 != reported length 62422402
Warning in download.file(url = h2o_url, destfile = temp_file, mode = "wb", :
URL 'http://s3.amazonaws.com/h2o-release/h2o/rel-turing/6/Rjar/h2o.jar': status was 'Failure when receiving data from the peer'
Error in download.file(url = h2o_url, destfile = temp_file, mode = "wb", :
download from 'http://s3.amazonaws.com/h2o-release/h2o/rel-turing/6/Rjar/h2o.jar' failed
我知道这是一个旧版本,因此 JVM 可能已被删除。但是 h2o 的人能否将旧的 JVM 留在某个地方,这样像我这样的人仍然可以使用以前的版本。
我无法复制你的错误。我刚刚从 CRAN 存档下载了 h2o_3.10.0.6.tar.gz 文件,并且能够正确安装它,所以看起来它一定是你这边的互联网连接问题。刚刚这样做:
> install.packages("h2o_3.10.0.6.tar.gz", repos=NULL, type="source")
* installing *source* package ‘h2o’ ...
** package ‘h2o’ successfully unpacked and MD5 sums checked
** R
** demo
** inst
** preparing package for lazy loading
Performing one-time download of h2o.jar from
http://s3.amazonaws.com/h2o-release/h2o/rel-turing/6/Rjar/h2o.jar
(This could take a few minutes, please be patient...)
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (h2o)
还有一些其他方法可以重新安装旧版本的 h2o R 包。如果是CRAN发布版本,可以使用versions包来安装任何旧版本的CRAN包:
install.packages("versions")
install.versions("h2o", versions = "3.10.0.6")
可以从其发布页面下载任何稳定版本的 H2O。 3.10.0.6 发布页面是 here,如果您单击 "Install in R" 选项卡,它将向您显示从 R 安装该版本的 H2O 的命令:
install.packages("h2o", type="source", repos=(c("https://h2o-release.s3.amazonaws.com/h2o/rel-turing/6/R")))
我的模型依赖于 R 包的版本 3.10.0.6 h2o
。在一台新机器上,我尝试从源文件 h2o_3.10.0.6.tar.gz
、
install.packages("h2o_3.10.0.6.tar.gz", repos=NULL, type="source")
10 分钟后,收到投诉,
Performing one-time download of h2o.jar from
http://s3.amazonaws.com/h2o-release/h2o/rel-turing/6/Rjar/h2o.jar
(This could take a few minutes, please be patient...)
Warning in download.file(url = h2o_url, destfile = temp_file, mode = "wb", :
downloaded length 60135652 != reported length 62422402
Warning in download.file(url = h2o_url, destfile = temp_file, mode = "wb", :
URL 'http://s3.amazonaws.com/h2o-release/h2o/rel-turing/6/Rjar/h2o.jar': status was 'Failure when receiving data from the peer'
Error in download.file(url = h2o_url, destfile = temp_file, mode = "wb", :
download from 'http://s3.amazonaws.com/h2o-release/h2o/rel-turing/6/Rjar/h2o.jar' failed
我知道这是一个旧版本,因此 JVM 可能已被删除。但是 h2o 的人能否将旧的 JVM 留在某个地方,这样像我这样的人仍然可以使用以前的版本。
我无法复制你的错误。我刚刚从 CRAN 存档下载了 h2o_3.10.0.6.tar.gz 文件,并且能够正确安装它,所以看起来它一定是你这边的互联网连接问题。刚刚这样做:
> install.packages("h2o_3.10.0.6.tar.gz", repos=NULL, type="source")
* installing *source* package ‘h2o’ ...
** package ‘h2o’ successfully unpacked and MD5 sums checked
** R
** demo
** inst
** preparing package for lazy loading
Performing one-time download of h2o.jar from
http://s3.amazonaws.com/h2o-release/h2o/rel-turing/6/Rjar/h2o.jar
(This could take a few minutes, please be patient...)
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (h2o)
还有一些其他方法可以重新安装旧版本的 h2o R 包。如果是CRAN发布版本,可以使用versions包来安装任何旧版本的CRAN包:
install.packages("versions")
install.versions("h2o", versions = "3.10.0.6")
可以从其发布页面下载任何稳定版本的 H2O。 3.10.0.6 发布页面是 here,如果您单击 "Install in R" 选项卡,它将向您显示从 R 安装该版本的 H2O 的命令:
install.packages("h2o", type="source", repos=(c("https://h2o-release.s3.amazonaws.com/h2o/rel-turing/6/R")))