Tensorflow installation - Consider adding this directory to PATH in R

1.9k views Asked by At

I installed Tensorflow and it is installed as detailed bellow but I cannot use it. I don't understand but during the installation I got lot of warning message. Do I need to import the mentioned path somewhere?

WARNING: The script tensorboard.exe is installed in 'C:\Users\Mezeix\AppData\Local\R-MINI~1\envs\R-RETI~1\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

Tensorflow is here, I can check using

py_discover_config("tensorflow"):
tensorflow:     C:\Users\Mezeix\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\tensorflow\__init__.p

but it does not work under R when I test it:

library(tensorflow)
> tf$constant("Hellow Tensorflow")
Error: Python module tensorflow was not found.

Detected Python configuration:

python:         C:/Users/Mezeix/AppData/Local/r-miniconda/envs/r-reticulate/python.exe
libpython:      C:/Users/Mezeix/AppData/Local/r-miniconda/envs/r-reticulate/python38.dll
pythonhome:     C:/Users/Mezeix/AppData/Local/r-miniconda/envs/r-reticulate
version:        3.8.5 (default, Aug  5 2020, 09:44:06) [MSC v.1916 64 bit (AMD64)]
Architecture:   64bit
numpy:          C:/Users/Mezeix/AppData/Local/r-miniconda/envs/r-reticulate/Lib/site-packages/numpy
numpy_version:  1.19.1
0

There are 0 answers