Error: Python module tensorflow.keras was not found.
错误尝试1. 先尝试install Tensorflow:
install.packages("tensorflow")
library(tensorflow)
Error: Valid installation of TensorFlow not found.
。。。
ModuleNotFoundError: No module named 'tensorflow'
You can install TensorFlow using the install_tensorflow() function.
错误尝试2. 另一种代码install TensorFlow:
install_tensorflow()
Error: Tensorflow installation failed (no conda binary found)
Install Miniconda by running `reticulate::install_miniconda()`before installing Tensorflow.
错误尝试3. 尝试安装miniconda:
reticulate::install_miniconda()
Error in download.file(url, destfile = installer, mode = "wb") : cannot open URL 'https://github.com/conda-forge/miniforge/releases/