pip3 install --upgrade tensorflow==1.3.0
and 1.3.0 was installed and the problem got resolved when I restarted the jupyter kernel.
pip3 install --upgrade tensorflow==1.3.0
and 1.3.0 was installed and the problem got resolved when I restarted the jupyter kernel.