Keras running error

Hello,
I got some problem for keras in R. But tensorflow is running well in python.
When I use
model <- keras_model_sequential()

I got error message:
Error:
Python module tensorflow.keras was not found.

Detected Python configuration:

python: C:/Users/DELL/AppData/Local/r-miniconda/envs/r-reticulate/python.exe
libpython: C:/Users/DELL/AppData/Local/r-miniconda/envs/r-reticulate/python36.dll
pythonhome: C:/Users/DELL/AppData/Local/r-miniconda/envs/r-reticulate
version: 3.6.12 (default, Dec 9 2020, 00:11:44) [MSC v.1916 64 bit (AMD64)]
Architecture: 64bit
numpy: C:/Users/DELL/AppData/Local/r-miniconda/envs/r-reticulate/Lib/site-packages/numpy
numpy_version: 1.19.5

Then I tried as [https://stackoverflow.com/questions/44611325/r-keras-package-error-python-module-tensorflow-contrib-keras-python-keras-was-n] said, tried to install tensorflow,

library(tensorflow)
install_tensorflow(package_url = "https://pypi.python.org/packages/b8/d6/af3d52dd52150ec4a6ceb7788bfeb2f62ecb6aa2d1172211c4db39b349a2/tensorflow-1.3.0rc0-cp27-cp27mu-manylinux1_x86_64.whl#md5=1cf77a2360ae2e38dd3578618eacc03b")

but it was saying:
Collecting package metadata (current_repodata.json): ...working... failed

ProxyError: Conda cannot proceed due to an error in your proxy configuration.
Check for typos and other configuration errors in any '.netrc' file in your home directory,
any environment variables ending in '_PROXY', and any other system-wide proxy
configuration settings.

Error: installation of 'python=3.6' into environment 'C:/Users/DELL/AppData/Local/r-miniconda/envs/r-reticulate' failed [error code 1]

Then I tried to install tesorflow in Rstudio Cloud, but the installing process was killed, so I guess because of I am in the free version.

Then I tried

library(tensorflow)
use_condaenv("keras-tf", required = T)

but
Error in use_condaenv("keras-tf", required = T) :
Unable to locate conda environment 'keras-tf'.

So, how should I come to solve this problem?

2 posts were merged into an existing topic: Keras @ Error: Python module tensorflow.keras was not found.