I am trying to install tensorflow in R. I am able to install tensorflow package through github devtools::install_github("rstudio/tensorflow"). But when i am trying to install the tensorflow by using
install_tensorflow() function, I am encountering with the following error.
Error: Prerequisites for installing TensorFlow not available.
Please install the following Python packages before proceeding: pip, virtualenv
Does this error means to install the pip, virtualenv packages in R or it should be installed in python version. This packages are already installed in our python which is installed under /opt/local/tools/python/Python-3.6.3/bin/python3.6
The default system level python is installed under /usr/bin/python .
Could anyone help me how to get resolve this error ?
Thanks in advance!