{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/tensorflow/issues/8","repository_url":"https://api.github.com/repos/rstudio/tensorflow","labels_url":"https://api.github.com/repos/rstudio/tensorflow/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/tensorflow/issues/8/comments","events_url":"https://api.github.com/repos/rstudio/tensorflow/issues/8/events","html_url":"https://github.com/rstudio/tensorflow/issues/8","id":179886975,"number":8,"title":"installation issue with Anaconda on Mac","user":{"login":"davharris","id":843017,"avatar_url":"https://avatars.githubusercontent.com/u/843017?v=3","gravatar_id":"","url":"https://api.github.com/users/davharris","html_url":"https://github.com/davharris","followers_url":"https://api.github.com/users/davharris/followers","following_url":"https://api.github.com/users/davharris/following{/other_user}","gists_url":"https://api.github.com/users/davharris/gists{/gist_id}","starred_url":"https://api.github.com/users/davharris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davharris/subscriptions","organizations_url":"https://api.github.com/users/davharris/orgs","repos_url":"https://api.github.com/users/davharris/repos","events_url":"https://api.github.com/users/davharris/events{/privacy}","received_events_url":"https://api.github.com/users/davharris/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2016-09-28T20:59:12Z","updated_at":"2016-09-30T09:11:29Z","closed_at":"2016-09-29T21:03:02Z","body":"I'm so excited to have an R interface. Thanks so much for building this.\r\n\r\nUnfortunately, it doesn't seem to work on my machine yet.  After what seems like a successful install (see installation messages at the bottom of this post), I get the following message when I try to load it in RStudio:\r\n\r\n```\r\n>library(tensorflow)\r\nTensorFlow not currently installed, please see https://www.tensorflow.org/get_started/\r\n```\r\n\r\nMy best guess is that it's an Anaconda issue?  Here's what I get when I type `python` at the bash prompt:\r\n\r\n```\r\nPython 2.7.11 |Anaconda 2.4.0 (x86_64)| (default, Dec  6 2015, 18:57:58) \r\n[GCC 4.2.1 (Apple Inc. build 5577)] on darwin\r\n```\r\n\r\nTensorflow works from Python (I've used it via the `keras` package). I've copied its location in my file directory below:\r\n\r\n```\r\n>>> import tensorflow as tf\r\n>>> tf\r\n<module 'tensorflow' from '/Users/davidharris/anaconda/lib/python2.7/site-packages/tensorflow/__init__.pyc'>\r\n```\r\n\r\nLet me know if I can provide any additional information that would help debug this.  Thanks again!\r\n\r\n\r\n### session_info:\r\n\r\n```\r\nsetting  value                       \r\n version  R version 3.3.1 (2016-06-21)\r\n system   x86_64, darwin13.4.0        \r\n ui       RStudio (1.0.27)            \r\n language (EN)                        \r\n collate  en_US.UTF-8                 \r\n tz       America/New_York            \r\n date     2016-09-28                  \r\n\r\nPackages --------------------------------------------------------------------------------\r\n package    * version date       source                             \r\n curl         2.1     2016-09-22 CRAN (R 3.3.0)                     \r\n devtools   * 1.12.0  2016-06-24 CRAN (R 3.3.0)                     \r\n digest       0.6.10  2016-08-02 cran (@0.6.10)                     \r\n git2r        0.15.0  2016-05-11 CRAN (R 3.3.0)                     \r\n httr         1.2.1   2016-07-03 CRAN (R 3.3.0)                     \r\n memoise      1.0.0   2016-01-29 CRAN (R 3.3.0)                     \r\n R6           2.1.3   2016-08-19 cran (@2.1.3)                      \r\n Rcpp         0.12.7  2016-09-05 CRAN (R 3.3.0)                     \r\n tensorflow * 0.3.0   2016-09-28 Github (rstudio/tensorflow@3fe7912)\r\n withr        1.0.2   2016-06-20 CRAN (R 3.3.0)                     \r\n```\r\n\r\n### Installation messages:\r\n\r\n```\r\ninstall_github(\"rstudio/tensorflow\", force = TRUE)\r\nDownloading GitHub repo rstudio/tensorflow@master\r\nfrom URL https://api.github.com/repos/rstudio/tensorflow/zipball/master\r\nInstalling tensorflow\r\n'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ  \\\r\n  --no-save --no-restore --quiet CMD INSTALL  \\\r\n  '/private/var/folders/fw/mq81111s0kvckgx47x8z5n380000gn/T/RtmpoYxlP6/devtools69a17ee28734/rstudio-tensorflow-3fe7912'  \\\r\n  --library='/Library/Frameworks/R.framework/Versions/3.3/Resources/library'  \\\r\n  --install-tests \r\n\r\n* installing *source* package ‘tensorflow’ ...\r\nUsing system version of python\r\nchecking for gcc... clang\r\nchecking whether the C compiler works... yes\r\nchecking for C compiler default output file name... a.out\r\nchecking for suffix of executables... \r\nchecking whether we are cross compiling... no\r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether clang accepts -g... yes\r\nchecking for clang option to accept ISO C89... none needed\r\nconfigure: creating ./config.status\r\nconfig.status: creating src/Makevars\r\nconfig.status: creating R/config.R\r\n** libs\r\nclang++ -std=c++11 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include -D PYTHONLIBFILE=libpython2.7.so -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I\"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Rcpp/include\"   -fPIC  -Wall -mtune=core2 -g -O2 -c RcppExports.cpp -o RcppExports.o\r\nclang++ -std=c++11 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include -D PYTHONLIBFILE=libpython2.7.so -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I\"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Rcpp/include\"   -fPIC  -Wall -mtune=core2 -g -O2 -c python.cpp -o python.o\r\nclang++ -std=c++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o tensorflow.so RcppExports.o python.o -L/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -lpython2.7 -ldl -framework CoreFoundation -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation\r\ninstalling to /Library/Frameworks/R.framework/Versions/3.3/Resources/library/tensorflow/libs\r\n** R\r\n** inst\r\n** tests\r\n** preparing package for lazy loading\r\n** help\r\n*** installing help indices\r\n** building package indices\r\n** testing if installed package can be loaded\r\n* DONE (tensorflow)\r\n```"},"comment":{"url":"https://api.github.com/repos/rstudio/tensorflow/issues/comments/250697455","html_url":"https://github.com/rstudio/tensorflow/issues/8#issuecomment-250697455","issue_url":"https://api.github.com/repos/rstudio/tensorflow/issues/8","id":250697455,"user":{"login":"davismcc","id":1668634,"avatar_url":"https://avatars.githubusercontent.com/u/1668634?v=3","gravatar_id":"","url":"https://api.github.com/users/davismcc","html_url":"https://github.com/davismcc","followers_url":"https://api.github.com/users/davismcc/followers","following_url":"https://api.github.com/users/davismcc/following{/other_user}","gists_url":"https://api.github.com/users/davismcc/gists{/gist_id}","starred_url":"https://api.github.com/users/davismcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davismcc/subscriptions","organizations_url":"https://api.github.com/users/davismcc/orgs","repos_url":"https://api.github.com/users/davismcc/repos","events_url":"https://api.github.com/users/davismcc/events{/privacy}","received_events_url":"https://api.github.com/users/davismcc/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T09:11:29Z","updated_at":"2016-09-30T09:11:29Z","body":"Fair enough - thanks for your efforts @jjallaire. It's all a lot harder than one feels it should be :sigh: - I'll try again with homebrew sometime"}}
{"actor":{"display_login":"davismcc"}}