{"action":"opened","issue":{"url":"https://api.github.com/repos/rstudio/tensorflow/issues/224","repository_url":"https://api.github.com/repos/rstudio/tensorflow","labels_url":"https://api.github.com/repos/rstudio/tensorflow/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/tensorflow/issues/224/comments","events_url":"https://api.github.com/repos/rstudio/tensorflow/issues/224/events","html_url":"https://github.com/rstudio/tensorflow/issues/224","id":302078918,"number":224,"title":"Problems faced in installing Tensorflow in RStudio","user":{"login":"shiraz14","id":5546275,"avatar_url":"https://avatars3.githubusercontent.com/u/5546275?v=4","gravatar_id":"","url":"https://api.github.com/users/shiraz14","html_url":"https://github.com/shiraz14","followers_url":"https://api.github.com/users/shiraz14/followers","following_url":"https://api.github.com/users/shiraz14/following{/other_user}","gists_url":"https://api.github.com/users/shiraz14/gists{/gist_id}","starred_url":"https://api.github.com/users/shiraz14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiraz14/subscriptions","organizations_url":"https://api.github.com/users/shiraz14/orgs","repos_url":"https://api.github.com/users/shiraz14/repos","events_url":"https://api.github.com/users/shiraz14/events{/privacy}","received_events_url":"https://api.github.com/users/shiraz14/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-04T11:44:29Z","updated_at":"2018-03-04T11:44:29Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI recently tried installing Tensorflow for GPU in RStudio, and faced problems getting it to work. Please see the code below for details & please advise what could have gone wrong here.\r\n\r\nThanks.\r\n\r\nCode:\r\n`\r\nR version 3.4.3 (2017-11-30) -- \"Kite-Eating Tree\"\r\nCopyright (C) 2017 The R Foundation for Statistical Computing\r\nPlatform: x86_64-w64-mingw32/x64 (64-bit)\r\n\r\nR is free software and comes with ABSOLUTELY NO WARRANTY.\r\nYou are welcome to redistribute it under certain conditions.\r\nType 'license()' or 'licence()' for distribution details.\r\n\r\nR is a collaborative project with many contributors.\r\nType 'contributors()' for more information and\r\n'citation()' on how to cite R or R packages in publications.\r\n\r\nType 'demo()' for some demos, 'help()' for on-line help, or\r\n'help.start()' for an HTML browser interface to help.\r\nType 'q()' to quit R.\r\n\r\n[Workspace loaded from ~/.RData]\r\n\r\n> library(tensorflow)\r\n> use_condaenv(\"r-tensorflow\")\r\n> sess <- tf$Session()\r\nError: Installation of TensorFlow not found.\r\n\r\nPython environments searched for 'tensorflow' package:\r\n C:\\Users\\Sz-PC\\AppData\\Local\\conda\\conda\\envs\\r-tensorflow\\python.exe\r\n C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python36_64\\python.exe\r\n C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python36_64\\python.exe\r\n C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Anaconda3_64\\python.exe\r\n\r\nYou can install TensorFlow using the install_tensorflow() function.\r\n> reticulate::py_config()\r\npython:         C:\\Users\\Sz-PC\\AppData\\Local\\conda\\conda\\envs\\r-tensorflow\\python.exe\r\nlibpython:      C:/Users/Sz-PC/AppData/Local/conda/conda/envs/r-tensorflow/python36.dll\r\npythonhome:     C:\\Users\\Sz-PC\\AppData\\Local\\conda\\conda\\envs\\R-TENS~1\r\nversion:        3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 10:22:32) [MSC v.1900 64 bit (AMD64)]\r\nArchitecture:   64bit\r\nnumpy:          C:\\Users\\Sz-PC\\AppData\\Local\\conda\\conda\\envs\\R-TENS~1\\lib\\site-packages\\numpy\r\nnumpy_version:  1.14.1\r\ntensorflow:     C:\\Users\\Sz-PC\\AppData\\Local\\conda\\conda\\envs\\R-TENS~1\\lib\\site-packages\\tensorflow\r\n\r\npython versions found: \r\n C:\\Users\\Sz-PC\\AppData\\Local\\conda\\conda\\envs\\r-tensorflow\\python.exe\r\n C:\\PROGRA~2\\MICROS~2\\Shared\\PYTHON~1\\python.exe\r\n C:\\PROGRA~2\\MICROS~2\\Shared\\PYTHON~1\\\\python.exe\r\n C:\\PROGRA~2\\MICROS~2\\Shared\\ANACON~1\\python.exe\r\n> reticulate::conda_list()\r\n          name                                                                         python\r\n1 r-tensorflow C:\\\\Users\\\\Sz-PC\\\\AppData\\\\Local\\\\conda\\\\conda\\\\envs\\\\r-tensorflow\\\\python.exe\r\n`"}}
{"actor":{"display_login":"shiraz14"}}