I try to install and run keras in RStudio (Windows) in vain. I installed the keras package using the regular "keras" package (did not use github) I installed the latest python (3.6) and Anaconda. then i use
> library(keras)
> install.keras()
and I get this error:
Creating an r-tensorflow condak environment for installing TensorFlow ... Retrieving package metadata ... CondaHTTPError: HTTP 000 CONNECTION Failure for the URL https://repo.continuum.io/pkgs/main/win-64/repodata.json. bz2 Expired: -
An HTTP error occurred while trying to get this URL. HTTP errors are often intermittent, and a simple repeat will force you along the way. ConnectTimeout (MaxRetryError ("HTTPSConnectionPool (host = 'repo.continuum.io', port = 443): The maximum number of attempts was exceeded using the URL: / pkgs / main / win -64 / repodata.json.bz2 (caused by ConnectTimeoutError (, ' Suspended connection to repo.continuum.io. (Connection timeout = 9.15) ')) ",),)
Error: Error 1 occurred that created the conda r-tensorflow environment In addition: warning message: start command '' C: \ PROGRA ~ 3 \ ANACON ~ 1 \ Scripts \ conda.exe "create" "--yes" "--name "" r-tensorflow "" python = 3.6 "'had status 1
, keras tensorflow. R (3.4.2)
.
, :
> devtools::install_github("rstudio/keras")
:
: -: 10015
. , zip github zip .
install.packages( "keras" ), .
, ( )
UPDATE: , python/anaconda.
2: , https_proxy .