title: module 'tensorflow' has no attribute 'constant'
body: <p>I previously had tensorflow with gpu support installed and working. I tried to install keras afterwhich nothing would work anymore. I have since uninstalled keras and tensorflow. </p>
  
  <p>I tried re-installing tensorfow with gpu support (now version 1.9) following the instructions on the tensorflow webpage <a href="https://www.tensorflow.org/install/install_linux" rel="nofollow noreferrer">https://www.tensorflow.org/install/install_linux</a> (I am running ubuntu 18 by the way). I tried running the code</p>
  
  <pre><code>import tensorflow as tf
  hello = tf.constant('Hello, TensorFlow!')
  sess = tf.Session()
  print(sess.run(hello))
  </code></pre>
  
  <p>and I get the error</p>
  
  <pre><code>import tensorflow as tf
  hello = tf.constant('Hello, TensorFlow!')
  sess = tf.Session()
  print(sess.run(hello))
  Traceback (most recent call last):
  
    File "&lt;ipython-input-2-25b92e4d5dec&gt;", line 2, in &lt;module&gt;
      hello = tf.constant('Hello, TensorFlow!')
  
  AttributeError: module 'tensorflow' has no attribute 'constant'
  </code></pre>
  
  <p>I tried looking at other threads and there was a suggestion to capitalize the C in 'constant' but that didnt work either.</p>
  
  <p>Any suggestions would be great!</p>
  
  <p>Thanks</p>