if we install updated version then this error comes
import tensorflow.compat.v1 as tf
ModuleNotFoundError: No module named 'tensorflow.compat'
if we install tf 1.8 then this error comes
ModuleNotFoundError: No module named 'tensorflow.contrib.rnn.python.ops.core_rnn'