title: How to fix 'keras' has no attribute 'datasets'
body: <p>I was following a keras tutorial and I had run this piece of code</p>
  <pre><code>import keras
  mnist = keras.datasets.mnist
  (x_train, y_train), (x_test, y_test) = mnist.load_data()
  </code></pre>
  <p>and I get this error message</p>
  <blockquote>
  <p>AttributeError: module 'keras' has no attribute 'datasets'</p>
  </blockquote>
  <p>I've tried to look up other people with the same question, but can't seem to find the exact answer. How can I resolve this?</p>