title: TensorFlow that runs in Colab but doesn't on local machine
body: <p>I just started the TensorFlow course and all its labs are in Google Colab, which works perfect. However, I would also like to keep the notes of what I do on my computer, but it shows me a 'couple pages long' error, last line saying &quot;TypeError: 'NoneType' object is not iterable&quot; as soon as I run a tensorFlow command such as:</p>
  <pre><code>model = tf.keras.Sequential([l0])
  </code></pre>
  <p>OR:</p>
  <pre><code>dataset, metadata = tfds.load('fashion_mnist', as_supervised=True, with_info=True)
  </code></pre>
  <p>I successfully pip installed TensorFlow and import it as tf at the beginning of the file. Can anybody tell me what am I not doing, please?</p>