{"action":"opened","issue":{"url":"https://api.github.com/repos/greta-dev/greta/issues/253","repository_url":"https://api.github.com/repos/greta-dev/greta","labels_url":"https://api.github.com/repos/greta-dev/greta/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/greta-dev/greta/issues/253/comments","events_url":"https://api.github.com/repos/greta-dev/greta/issues/253/events","html_url":"https://github.com/greta-dev/greta/issues/253","id":382787346,"node_id":"MDU6SXNzdWUzODI3ODczNDY=","number":253,"title":"Install issue - possibly registry issue?","user":{"login":"lenthomas","id":129519,"node_id":"MDQ6VXNlcjEyOTUxOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/129519?v=4","gravatar_id":"","url":"https://api.github.com/users/lenthomas","html_url":"https://github.com/lenthomas","followers_url":"https://api.github.com/users/lenthomas/followers","following_url":"https://api.github.com/users/lenthomas/following{/other_user}","gists_url":"https://api.github.com/users/lenthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/lenthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenthomas/subscriptions","organizations_url":"https://api.github.com/users/lenthomas/orgs","repos_url":"https://api.github.com/users/lenthomas/repos","events_url":"https://api.github.com/users/lenthomas/events{/privacy}","received_events_url":"https://api.github.com/users/lenthomas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-20T18:08:52Z","updated_at":"2018-11-20T18:08:52Z","closed_at":null,"author_association":"NONE","body":"Hi Nick,\r\n\r\nI'm trying to install greta, but am stumbling at the tensorflow installation stage.  \r\n`install_tensorflow(method = \"conda\")`\r\nseems to work no problem, but then\r\n`reticulate::conda_install(\"r-tensorflow\", \"tensorflow-probability\", pip = TRUE)`\r\ngives the error\r\n`\"Did not find VS in registry or in VS140COMNTOOLS env var - exiting\"`\r\nError: Error 1 occurred installing packages into conda environment r-tensorflow\r\n\r\nAny thoughts?  Didn't see a similar issue already (open or closed) - apologies if I missed it.\r\n\r\n\r\nFull session below.\r\n\r\n\r\n> library(greta)\r\n\r\n\r\ngreta requires TensorFlow (>=1.10.0) and Tensorflow Probability (>=0.3.0), but TensorFlow Probability isn't installed. Use:\r\n\r\n    install_tensorflow(method = \"conda\")\r\n    reticulate::conda_install(\"r-tensorflow\", \"tensorflow-probability\", pip = TRUE)\r\n\r\nto install the latest version.\r\n\r\n\r\n\r\nAttaching package: ‘greta’\r\n\r\nThe following objects are masked from ‘package:stats’:\r\n\r\n    binomial, cov2cor, poisson\r\n\r\nThe following objects are masked from ‘package:base’:\r\n\r\n    %*%, apply, backsolve, beta, chol2inv, colMeans, colSums, diag, eigen,\r\n    forwardsolve, gamma, identity, rowMeans, rowSums, sweep, tapply\r\n\r\n> install_tensorflow(method = \"conda\")\r\n\r\nRemove all packages in environment C:\\Users\\len\\AppData\\Local\\conda\\conda\\envs\\r-tensorflow:\r\n\r\n\r\n## Package Plan ##\r\n\r\n  environment location: C:\\Users\\len\\AppData\\Local\\conda\\conda\\envs\\r-tensorflow\r\n\r\n\r\nThe following packages will be REMOVED:\r\n\r\n    absl-py:              0.6.1-py36_1000          conda-forge\r\n    asn1crypto:           0.24.0-py36_1003         conda-forge\r\n    astor:                0.7.1-py_0               conda-forge\r\n    blas:                 1.0-mkl                             \r\n    ca-certificates:      2018.10.15-ha4d7672_0    conda-forge\r\n    certifi:              2018.10.15-py36_1000     conda-forge\r\n    cffi:                 1.11.5-py36hfa6e2cd_1001 conda-forge\r\n    chardet:              3.0.4-py36_1003          conda-forge\r\n    cryptography:         2.3.1-py36h74b6da3_0     conda-forge\r\n    cryptography-vectors: 2.3.1-py36_1000          conda-forge\r\n    freetype:             2.9.1-he8b6a0d_1004      conda-forge\r\n    gast:                 0.2.0-py_0               conda-forge\r\n    grpcio:               1.14.1-py36he089993_0    conda-forge\r\n    h5py:                 2.8.0-py36h54c06b0_1003  conda-forge\r\n    hdf5:                 1.10.2-vc14_0            conda-forge [vc14]\r\n    icc_rt:               2017.0.4-h97af966_0                 \r\n    idna:                 2.7-py36_1002            conda-forge\r\n    intel-openmp:         2019.1-144                          \r\n    jpeg:                 9c-hfa6e2cd_1001         conda-forge\r\n    keras:                2.2.4-py36_0             conda-forge\r\n    keras-applications:   1.0.4-py_1               conda-forge\r\n    keras-preprocessing:  1.0.2-py_1               conda-forge\r\n    libgpuarray:          0.7.6-vc14_0             conda-forge [vc14]\r\n    libpng:               1.6.34-vc14_0            conda-forge [vc14]\r\n    libprotobuf:          3.6.1-h1a1b453_1000      conda-forge\r\n    libtiff:              4.0.9-vc14_0             conda-forge [vc14]\r\n    mako:                 1.0.7-py_1               conda-forge\r\n    markdown:             2.6.11-py_0              conda-forge\r\n    markupsafe:           1.1.0-py36hfa6e2cd_1000  conda-forge\r\n    mkl:                  2018.0.3-1                          \r\n    mkl_fft:              1.0.6-py36_0             conda-forge\r\n    mkl_random:           1.0.2-py36_0             conda-forge\r\n    numpy:                1.15.4-py36ha559c80_0               \r\n    numpy-base:           1.15.4-py36h8128ebf_0               \r\n    olefile:              0.46-py_0                conda-forge\r\n    openssl:              1.0.2o-vc14_0            conda-forge [vc14]\r\n    pillow:               5.3.0-py36h9a613e6_1000  conda-forge\r\n    pip:                  18.1-py36_0                         \r\n    protobuf:             3.6.1-py36he025d50_1001  conda-forge\r\n    pycparser:            2.19-py_0                conda-forge\r\n    pygpu:                0.7.6-py36h452e1ab_1000  conda-forge\r\n    pyopenssl:            18.0.0-py36_1000         conda-forge\r\n    pyreadline:           2.1-py36_1000            conda-forge\r\n    pysocks:              1.6.8-py36_1002          conda-forge\r\n    python:               3.6.6-he025d50_0         conda-forge\r\n    pyyaml:               3.13-py36hfa6e2cd_1001   conda-forge\r\n    requests:             2.20.1-py36_1000         conda-forge\r\n    scipy:                1.1.0-py36h4f6bf74_1                \r\n    setuptools:           40.6.2-py36_0                       \r\n    six:                  1.11.0-py36_1001         conda-forge\r\n    tensorboard:          1.10.0-py36_0            conda-forge\r\n    tensorflow:           1.10.0-py36_0            conda-forge\r\n    tensorflow-hub:       0.1.1-py_0               conda-forge\r\n    termcolor:            1.1.0-py_2               conda-forge\r\n    theano:               1.0.3-py36h6538335_1001  conda-forge\r\n    tk:                   8.6.8-vc14_0             conda-forge [vc14]\r\n    urllib3:              1.23-py36_1001           conda-forge\r\n    vc:                   14-0                     conda-forge\r\n    vs2015_runtime:       14.15.26706-h3a45250_0              \r\n    vs2015_win-64:        14.0.25123-h17c34da_3    conda-forge\r\n    werkzeug:             0.14.1-py_0              conda-forge\r\n    wheel:                0.32.3-py36_0                       \r\n    win_inet_pton:        1.0.1-py36_1002          conda-forge\r\n    wincertstore:         0.2-py36h7fe50ca_0                  \r\n    yaml:                 0.1.7-vc14_0             conda-forge [vc14]\r\n    zlib:                 1.2.11-vc14_0            conda-forge [vc14]\r\n\r\nCreating r-tensorflow conda environment for TensorFlow installation...\r\nSolving environment: ...working... done\r\n\r\n## Package Plan ##\r\n\r\n  environment location: C:\\Users\\len\\AppData\\Local\\conda\\conda\\envs\\r-tensorflow\r\n\r\n  added / updated specs: \r\n    - python=3.6\r\n\r\n\r\nThe following NEW packages will be INSTALLED:\r\n\r\n    certifi:        2018.10.15-py36_0     \r\n    pip:            18.1-py36_0           \r\n    python:         3.6.7-h33f27b4_1      \r\n    setuptools:     40.6.2-py36_0         \r\n    vc:             14.1-h0510ff6_4       \r\n    vs2015_runtime: 14.15.26706-h3a45250_0\r\n    wheel:          0.32.3-py36_0         \r\n    wincertstore:   0.2-py36h7fe50ca_0    \r\n\r\nPreparing transaction: ...working... done\r\nVerifying transaction: ...working... done\r\nExecuting transaction: ...working... done\r\n#\r\n# To activate this environment, use:\r\n# > activate r-tensorflow\r\n#\r\n# To deactivate an active environment, use:\r\n# > deactivate\r\n#\r\n# * for power-users using bash, you must source\r\n#\r\n\r\nSolving environment: ...working... done\r\n\r\n## Package Plan ##\r\n\r\n  environment location: C:\\Users\\len\\AppData\\Local\\conda\\conda\\envs\\r-tensorflow\r\n\r\n  added / updated specs: \r\n    - h5py\r\n    - keras\r\n    - pillow\r\n    - pyyaml\r\n    - requests\r\n    - scipy\r\n    - tensorflow-hub\r\n    - tensorflow==1.10.0\r\n\r\n\r\nThe following NEW packages will be INSTALLED:\r\n\r\n    absl-py:              0.6.1-py36_1000          conda-forge\r\n    asn1crypto:           0.24.0-py36_1003         conda-forge\r\n    astor:                0.7.1-py_0               conda-forge\r\n    blas:                 1.0-mkl                             \r\n    ca-certificates:      2018.10.15-ha4d7672_0    conda-forge\r\n    cffi:                 1.11.5-py36hfa6e2cd_1001 conda-forge\r\n    chardet:              3.0.4-py36_1003          conda-forge\r\n    cryptography:         2.3.1-py36h74b6da3_0     conda-forge\r\n    cryptography-vectors: 2.3.1-py36_1000          conda-forge\r\n    freetype:             2.9.1-he8b6a0d_1004      conda-forge\r\n    gast:                 0.2.0-py_0               conda-forge\r\n    grpcio:               1.14.1-py36he089993_0    conda-forge\r\n    h5py:                 2.8.0-py36h54c06b0_1003  conda-forge\r\n    hdf5:                 1.10.2-vc14_0            conda-forge [vc14]\r\n    icc_rt:               2017.0.4-h97af966_0                 \r\n    idna:                 2.7-py36_1002            conda-forge\r\n    intel-openmp:         2019.1-144                          \r\n    jpeg:                 9c-hfa6e2cd_1001         conda-forge\r\n    keras:                2.2.4-py36_0             conda-forge\r\n    keras-applications:   1.0.4-py_1               conda-forge\r\n    keras-preprocessing:  1.0.2-py_1               conda-forge\r\n    libgpuarray:          0.7.6-vc14_0             conda-forge [vc14]\r\n    libpng:               1.6.34-vc14_0            conda-forge [vc14]\r\n    libprotobuf:          3.6.1-h1a1b453_1000      conda-forge\r\n    libtiff:              4.0.9-vc14_0             conda-forge [vc14]\r\n    mako:                 1.0.7-py_1               conda-forge\r\n    markdown:             2.6.11-py_0              conda-forge\r\n    markupsafe:           1.1.0-py36hfa6e2cd_1000  conda-forge\r\n    mkl:                  2018.0.3-1                          \r\n    mkl_fft:              1.0.6-py36_0             conda-forge\r\n    mkl_random:           1.0.2-py36_0             conda-forge\r\n    numpy:                1.15.4-py36ha559c80_0               \r\n    numpy-base:           1.15.4-py36h8128ebf_0               \r\n    olefile:              0.46-py_0                conda-forge\r\n    openssl:              1.0.2o-vc14_0            conda-forge [vc14]\r\n    pillow:               5.3.0-py36h9a613e6_1000  conda-forge\r\n    protobuf:             3.6.1-py36he025d50_1001  conda-forge\r\n    pycparser:            2.19-py_0                conda-forge\r\n    pygpu:                0.7.6-py36h452e1ab_1000  conda-forge\r\n    pyopenssl:            18.0.0-py36_1000         conda-forge\r\n    pyreadline:           2.1-py36_1000            conda-forge\r\n    pysocks:              1.6.8-py36_1002          conda-forge\r\n    pyyaml:               3.13-py36hfa6e2cd_1001   conda-forge\r\n    requests:             2.20.1-py36_1000         conda-forge\r\n    scipy:                1.1.0-py36h4f6bf74_1                \r\n    six:                  1.11.0-py36_1001         conda-forge\r\n    tensorboard:          1.10.0-py36_0            conda-forge\r\n    tensorflow:           1.10.0-py36_0            conda-forge\r\n    tensorflow-hub:       0.1.1-py_0               conda-forge\r\n    termcolor:            1.1.0-py_2               conda-forge\r\n    theano:               1.0.3-py36h6538335_1001  conda-forge\r\n    tk:                   8.6.8-vc14_0             conda-forge [vc14]\r\n    urllib3:              1.23-py36_1001           conda-forge\r\n    vs2015_win-64:        14.0.25123-h17c34da_3    conda-forge\r\n    werkzeug:             0.14.1-py_0              conda-forge\r\n    win_inet_pton:        1.0.1-py36_1002          conda-forge\r\n    yaml:                 0.1.7-vc14_0             conda-forge [vc14]\r\n    zlib:                 1.2.11-vc14_0            conda-forge [vc14]\r\n\r\nThe following packages will be UPDATED:\r\n\r\n    certifi:              2018.10.15-py36_0                    --> 2018.10.15-py36_1000 conda-forge\r\n\r\nThe following packages will be DOWNGRADED:\r\n\r\n    python:               3.6.7-h33f27b4_1                     --> 3.6.6-he025d50_0     conda-forge\r\n    vc:                   14.1-h0510ff6_4                      --> 14-0                 conda-forge\r\n\r\nPreparing transaction: ...working... done\r\nVerifying transaction: ...working... done\r\nExecuting transaction: ...working... done\r\n\r\nInstallation complete.\r\n\r\n\r\nRestarting R session...\r\n\r\n> reticulate::conda_install(\"r-tensorflow\", \"tensorflow-probability\", pip = TRUE)\r\n\r\nC:\\Users\\len\\Documents>python C:\\Users\\len\\AppData\\Local\\conda\\conda\\envs\\r-tensorflow\\etc\\keras\\load_config.py  1>temp.txt \r\n\r\nC:\\Users\\len\\Documents>set /p KERAS_BACKEND= 0<temp.txt \r\n\r\nC:\\Users\\len\\Documents>del temp.txt \r\n\r\nC:\\Users\\len\\Documents>python -c \"import keras\"  1>nul 2>&1 \r\n\r\nC:\\Users\\len\\Documents>if errorlevel 1 (\r\nver  1>nul  \r\n set \"KERAS_BACKEND=theano\"  \r\n python -c \"import keras\"  1>nul 2>&1 \r\n) \r\n\r\nC:\\Users\\len\\Documents>SET DISTUTILS_USE_SDK=1 \r\n\r\nC:\\Users\\len\\Documents>SET MSSdk=1 \r\n\r\nC:\\Users\\len\\Documents>SET platform= \r\n\r\nC:\\Users\\len\\Documents>IF /I [AMD64] == [amd64] set \"platform=true\" \r\n\r\nC:\\Users\\len\\Documents>IF /I [] == [amd64] set \"platform=true\" \r\n\r\nC:\\Users\\len\\Documents>if defined platform (set \"VSREGKEY=HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\VisualStudio\\14.0\" )  ELSE (set \"VSREGKEY=HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\14.0\" ) \r\n\r\nC:\\Users\\len\\Documents>for /F \"skip=2 tokens=2,*\" %A in ('reg query \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\VisualStudio\\14.0\" /v InstallDir') do SET \"VSINSTALLDIR=%B\" \r\nERROR: The system was unable to find the specified registry key or value.\r\n\r\nC:\\Users\\len\\Documents>if \"\" == \"\" (set \"VSINSTALLDIR=\" ) \r\n\r\nC:\\Users\\len\\Documents>if \"\" == \"\" (\r\nECHO \"Did not find VS in registry or in VS140COMNTOOLS env var - exiting\"  \r\n exit 1 \r\n) \r\n\"Did not find VS in registry or in VS140COMNTOOLS env var - exiting\"\r\nError: Error 1 occurred installing packages into conda environment r-tensorflow\r\n\r\n"}}
{"actor":{"display_login":"lenthomas"}}