Hello. I fail everytime I try to install Keras and Tensorflow in R 4.0.2. I have found a website, where the installation process is described in detail: https://medium.com/datadriveninvestor/how-to-setup-keras-and-tensorflow-in-rstudio-on-windows-d0175e9a8f10
On this website I have stopped at part 3: I don't understand where I should run pip install tensorlflow
and pip install keras
. In Jupyter Notebook the installation process doesn't come to and end. When I do the same in Spyder I always receive the following text:
File "C:\Users\user\anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3267, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-1-55fe5a7ae02f>", line 1, in <module>
runfile('C:/Users/user/Downloads/Python.py', wdir='C:/Users/user/Downloads')
File "C:\Users\user\anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 704, in runfile
execfile(filename, namespace)
File "C:\Users\user\anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 108, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "C:/Users/user/Downloads/Python.py", line 8
python -m pip install [tensorflow]
^
SyntaxError: invalid syntax
And again, the installation process is never been finished.
Could you, please, tell or show me, where I should run these commands?
Thank you for your help.