I am running the code on Ubuntu 18 with the environment consisting of tensorflow==1.7.0 and python==3.6. During the execution of import tensorflow.compat.v1 as tf, I encounter the error "No module named 'tensorflow.compat'".How can I resolve this issue?
I am running the code on Ubuntu 18 with the environment consisting of tensorflow==1.7.0 and python==3.6. During the execution of import tensorflow.compat.v1 as tf, I encounter the error "No module named 'tensorflow.compat'".How can I resolve this issue?