unable to use keras and tensorflow in rstudio

Let me explain the issue I am facing friends:
I used install.packages("keras") followed by install_keras(), turned the library for keras and TensorFlow on in both and ran x<-dataset_fashion_mnist command i get his error:
Error: Installation of TensorFlow not found.

Python environments searched for 'tensorflow' package:
** C:\Users\Aditya\anaconda3\envs\r-reticulate\python.exe**
** C:\Users\Aditya\anaconda3\python.exe**
** C:\Users\Aditya\anaconda3\envs\renv\python.exe**

You can install TensorFlow using the install_tensorflow() function.

After using the suggested code i run fashion_mnist command again only to get this error:
Error: Python module tensorflow.keras was not found.

Detected Python configuration:

python: C:/Users/Aditya/anaconda3/envs/r-reticulate/python.exe
libpython: C:/Users/Aditya/anaconda3/envs/r-reticulate/python36.dll
pythonhome: C:/Users/Aditya/anaconda3/envs/r-reticulate
version: 3.6.10 |Anaconda, Inc.| (default, May 7 2020, 19:46:08) [MSC v.1916 64 bit (AMD64)]
Architecture: 64bit
numpy: C:/Users/Aditya/anaconda3/envs/r-reticulate/Lib/site-packages/numpy
numpy_version: 1.18.4
tensorflow: C:\Users\Aditya\ANACON~1\envs\R-RETI~1\lib\site-packages\tensorflow_init_.p

python versions found: **
** C:/Users/Aditya/anaconda3/envs/r-reticulate/python.exe

** C:/Users/Aditya/anaconda3/python.exe**
** C:/Users/Aditya/anaconda3/envs/renv/python.exe**

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.