Error: Python module tensorflow.keras was not found.

hello everyone.

I am a new user of Mac and trying to extract cifar10 data from keras. i have installed keras successfully. However I am failing to extract the dataset. Before, my R session used to get aborted, however, i Solved that error. Unfortunately, I am encountered my new error.
I have added the commands

install.packages("keras")
library(keras)
cifar <- dataset_cifar10()
THIS DIDNT WORK FOR ME
SO I tried using devtools
install.packages("devtools")
devtools::install_github("rstudio/keras")
library(keras)
cifar <- dataset_cifar10()--> the r session terminates after this command.

so i used this command to solve the termination problem,
install_keras(tensorflow = "1.5") and the aborting R session stopped.

Now, I am encountered by the following error,
Error: Python module tensorflow.keras was not found.

Detected Python configuration:

python: /Users/lipivikramthakker/Library/r-miniconda/envs/r-reticulate/bin/python
libpython: /Users/lipivikramthakker/Library/r-miniconda/envs/r-reticulate/lib/libpython3.6m.dylib
pythonhome: /Users/lipivikramthakker/Library/r-miniconda/envs/r-reticulate:/Users/lipivikramthakker/Library/r-miniconda/envs/r-reticulate
version: 3.6.12 |Anaconda, Inc.| (default, Sep 8 2020, 17:50:39) [GCC Clang 10.0.0 ]
numpy: /Users/lipivikramthakker/Library/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/numpy
numpy_version: 1.19.5

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.