ModuleNotFoundError: No module named 'tensorflow.compat.v1' code example
Example 1: import tensorflow as tf ModuleNotFoundError: No module named 'tensorflow'
conda create -n tensorflow python=3.5
activate tensorflow
pip install --ignore-installed --upgrade tensorflow
Example 2: ModuleNotFoundError: No module named 'tensorflow.examples'
!pip install -q git+https://github.com/tensorflow/examples.git