저는 RStudio (Windows)에서 케라를 헛되이 설치하고 실행하려고했습니다. 일반 패키지 "keras"를 사용하여 keras 패키지를 설치했습니다 (github을 사용하지 않았습니다) 저는 최신 Python (3.6)과 Anaconda를 설치했습니다. 는 내가 RStudio의 install.keras()가 http 연결 오류로 인해 실패합니다.
> library(keras)
> install.keras()
를 사용하고 난이 오류를 얻을 :
Creating r-tensorflow conda environment for TensorFlow installation... Fetching package metadata ... CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.continuum.io/pkgs/main/win-64/repodata.json.bz2 Elapsed: -
An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='repo.continuum.io', port=443): Max retries exceeded with url: /pkgs/main/win-64/repodata.json.bz2 (Caused by ConnectTimeoutError(, 'Connection to repo.continuum.io timed out. (connect timeout=9.15)'))",),)
Error: Error 1 occurred creating conda environment r-tensorflow In addition: Warning message: running 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")
그리고 난이 오류를 얻을 :
Installation failed: Timeout was reached: Connection timed out after 10015 milliseconds
내가 어떤 인증 프록시 뒤에 아니라고합니다. 그래서 여러 번 실패한 후, 저는 github에서 zip 파일을 다운로드하고 zip 파일을 사용하여 수동으로 설치했습니다. 또한 install.packages ("keras")를 시도했는데 오류가 발생하지 않았습니다. 난 라이브러리 (위와 같이) 내가
UPDATE 오류를 얻을하지 않습니다 호출 할 때 : 나는 파이썬/아나콘다가 설치되어 있지 않은 다른 컴퓨터에 쉽게 패키지를 설치하고 사용할 수있었습니다을 이미 그것.
업데이트 2 : 프록시에 인증이 필요없고 https_proxy도 없습니다.