1#First Check whether this is working
2
3import tensorflow as tf
4tf.__version__
5
6#if the version is < 1.13
7
8pip uninstall tensorflow #unintsall it and then reinstall it for clean installation of all packages
9pip install --upgrade pip
10pip install --upgrade tensorflow
11
12#else
13
14pip install --upgrade tensorflow
15