I am a running a python script where I train CNN on my laptop and now want to run it on google cloud. The script imports tensorflow and keras, for which I need Python 3.6
The steps I followed were:
- Go to compute engine and create a virtual machine with 8cpus
- I ssh into the virtual machine, and I see that the python version is 2.7
How can I change the python version to 3.6 so I can install keras, and then to be able to run my python script?
Many thanks for your help
python3
, and usepip3
to install packages for Python3. – Deqingpython
to use Python3, googlevirtualenv
– Deqing