Unable to load library keras in RStudio


index <- createDataPartition(df$Sum, p=0.7, list=FALSE)
df.training <- df[index,]
df.test <- df[-index,]

This is the Error I get -
Error: Python module tensorflow.keras was not found. Detected Python configuration: python: /usr/bin/python libpython: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.dylib pythonhome: /System/Library/Frameworks/Python.framework/Versions/2.7:/System/Library/Frameworks/Python.framework/Versions/2.7 version: 2.7.16 (default, Feb 29 2020, 01:55:37) [GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc- numpy: /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy numpy_version: 1.8.0 tensorflow: [NOT FOUND] python versions found: /usr/bin/python3 /usr/local/bin/python3 /usr/bin/python

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