title: Google Colab error: Import "tensorflow.keras.models" could not be resolved(reportMissingImports)
body: <pre><code>import tensorflow as tf
  tf.__version__
  
  !sudo pip3 install keras
  
  from tensorflow.keras.models import Sequential
  from tensorflow.keras.layers import Dense, Conv2D, Flatten, Dropout, MaxPooling2D
  from tensorflow.keras.preprocessing.image import ImageDataGenerator
  </code></pre>
  <p>Error message:</p>
  <pre><code>Import &quot;tensorflow.keras.models&quot; could not be resolved(reportMissingImports)
  &gt;Import &quot;tensorflow.keras.layers&quot; could not be resolved(reportMissingImports)
  &gt;&gt;Import &quot;tensorflow.keras.preprocessing.image&quot; could not be resolved(reportMissingImports)
  </code></pre>