tensorflow 'module' object has no attribute 'contrib'
<p>I installed tensorflow(on python 2.7,debian linux) using the pip method as shown in official documentation:
<a href="https://www.tensorflow.org/versions/r0.9/get_started/os_setup.html#pip-installation" rel="nofollow noreferrer">https://www.tensorflow.org/versions/r0.9/get_started/os_setup.html#pip-installation</a></p>

<p>Tested succesfully the installation as indicated by the installation ,but when doing the tutorial :
<a href="https://www.tensorflow.org/versions/r0.9/tutorials/tflearn/index.html#construct-a-deep-neural-network-classifier" rel="nofollow noreferrer">https://www.tensorflow.org/versions/r0.9/tutorials/tflearn/index.html#construct-a-deep-neural-network-classifier</a></p>

<p>After importing tensorflow correctly , when trying the line:</p>

<pre><code>training_set = tf.contrib.learn.datasets.base.load_csv(filename=IRIS_TRAINING, target_dtype=np.int)
</code></pre>

<p>Im getting the error :
tensorflow 'module' object has no attribute 'contrib'</p>

<p>Does anybody knows that can be wrong?</p>

<p>Thank you</p>