install tensorflow and keras code example

Example 1: install keras

sudo pip3 install keras

Example 2: install keras

git clone https://github.com/keras-team/keras.git
cd /keras
sudo python3 setup.py install

Example 3: Before installing tensorflow and Keras, install some of the libraries that are needed.

sudo apt-get install python3-numpy
sudo apt-get install libblas-dev
sudo apt-get install liblapack-dev
sudo apt-get install python3-dev 
sudo apt-get install libatlas-base-dev
sudo apt-get install gfortran
sudo apt-get install python3-setuptools
sudo apt-get install python3-scipy
sudo apt-get update
sudo apt-get install python3-h5py