Error in tf.contrib.learn Quickstart, no attribute named load_csv
<p>I am getting started in tensorflow on OSX and installed the lasted version following the guidelines for a pip installation using:</p>

<pre><code>echo $TF_BINARY_URL
https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.11.0rc0-py2-none-any.whl
</code></pre>

<p>Quick overview:</p>

<p>OS: OS X El Capitan version 10.11.6 (15G31)</p>

<p>Python: Python 2.7.12_1 installed with <code>brew install python</code></p>

<p>TensorFlow: 0.11.0rc0 from <code>import tensorflow as tf; print(tf.__version__)</code></p>

<p>I can run TensorFlow using:</p>

<pre><code>python
&gt;&gt;&gt; import tensorflow as tf
&gt;&gt;&gt; hello = tf.constant('Hello, TensorFlow!')
&gt;&gt;&gt; sess = tf.Session()
&gt;&gt;&gt; print(sess.run(hello))
&gt;&gt;&gt; Hello, TensorFlow!
</code></pre>

<p>So TensorFlow is installed and running the basic commands.</p>

<p>But when I run the code for tf.contrib.learn Quickstart from here:
<a href="https://www.tensorflow.org/versions/r0.11/tutorials/tflearn/index.html" rel="nofollow">https://www.tensorflow.org/versions/r0.11/tutorials/tflearn/index.html</a></p>

<p>I get the following issue:</p>

<pre><code>Traceback (most recent call last):
  File "tf_learn_quickstart.py", line 13, in &lt;module&gt;
    training_set = tf.contrib.learn.datasets.base.load_csv(filename=IRIS_TRAINING,
AttributeError: 'module' object has no attribute 'load_csv'
</code></pre>

<p>I can't figure out what went wrong as everything else seems to be working fine. Any ideas what is wrong?</p>

<p>This function has been deprecated: <a href="https://github.com/tensorflow/tensorflow/commit/2d4267507e312007a062a90df37997bca8019cfb" rel="nofollow">https://github.com/tensorflow/tensorflow/commit/2d4267507e312007a062a90df37997bca8019cfb</a></p>

<p>And the tutorial seems not up to date. I believe you can simply replace load_csv with load_csv_with_header to get it work.</p>

python osx python-2.7 tensorflow osx-elcapitan