Python environment error in Rstudio

Tensorflow and keras
Hi Team,

I’m trying to build a predictive model for image recognition by using tensorflow and keras.

I’m getting an error when running a command in Rstudio.

After running command image_resize, I’m running below command as:

R command: array_reshape(…)
Error: “Error: Error 1 occurred when checking python environment.”

I have installed all latest versions of python, anaconda, R and Rstudio.

Also, installed all necessary packages like tensorflow, ketas, devtools, EBImage, rtools, caret etc.

Please help me with the solution. I tried my best to find the solutions but i couldn’t.

Thanks,
Sachin Tayde