title: import input_data MNIST tensorflow not working
body: <p><a href="https://stackoverflow.com/questions/33659424/tensorflow-mnist-example-not-running">TensorFlow MNIST example not running with fully_connected_feed.py</a></p>
  
  <p>I checked this out and realized that <code>input_data</code> was not built-in.  So I downloaded the whole folder from <a href="https://tensorflow.googlesource.com/tensorflow/+/master/tensorflow/g3doc/tutorials/mnist/input_data.py" rel="noreferrer">here</a>. How can I start the tutorial:</p>
  
  <pre><code>import input_data
  mnist = input_data.read_data_sets("MNIST_data/", one_hot=True)
  
  
  ---------------------------------------------------------------------------
  ImportError                               Traceback (most recent call last)
  &lt;ipython-input-6-a5af65173c89&gt; in &lt;module&gt;()
  ----&gt; 1 import input_data
        2 mnist = tf.input_data.read_data_sets("MNIST_data/", one_hot=True)
  
  ImportError: No module named input_data
  </code></pre>
  
  <p>I'm using iPython (Jupyter) so do I need to change my working directory to this folder I downloaded? or can I add this to my <code>tensorflow</code> directory? If so, where do I add the files? I installed <code>tensorflow</code> with <code>pip</code> (on my OSX) and the current location is <code>~/anaconda/lib/python2.7/site-packages/tensorflow/__init__.py</code></p>
  
  <p>Are these files meant to be accessed directly through <code>tensorflow</code> like <code>sklearn</code> datasets? or am I just supposed to cd into the directory and work from there? The example is not clear. </p>
  
  <p>EDIT:</p>
  
  <p>This post is very out-dated</p>