If I run the following code:
install_keras()
I get the following errors:
Error in python_config_impl(python) :
Error 1 occurred running /usr/bin/python3: In addition: Warning messages: 1: In system2(command = python, args = shQuote(script), stdout = TRUE, : running command ''/usr/bin/python3' '/Library/Frameworks/R.framework/Versions/4.1/Resources/library/reticulate/config/config.py' 2>/dev/null' had status 1 2: In system2(command = python, args = shQuote(script), stdout = TRUE, : running command ''/usr/bin/python3' '/Library/Frameworks/R.framework/Versions/4.1/Resources/library/reticulate/config/config.py' 2>/dev/null' had status 1
Somehow, I have managed to install keras (I don't remember how) as it shows up in my R packages.
But, when I run these codes:
library(keras)
is_keras_available()
I get this answer:
[1] FALSE
Warning message: In system2(command = python, args = shQuote(script), stdout = TRUE, : running command ''/usr/bin/python3' '/Library/Frameworks/R.framework/Versions/4.1/Resources/library/reticulate/config/config.py' 2>/dev/null' had status 1