In [1]:
import tensorflow as tf

# Create TensorFlow object called tensor
hello_constant = tf.constant('Hello World!')

with tf.Session() as sess:
    # Run the tf.constant operation in the session
    output = sess.run(hello_constant)
    print(output)


---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-548c7a1bd111> in <module>()
----> 1 import tensorflow as tf
      2 
      3 # Create TensorFlow object called tensor
      4 hello_constant = tf.constant('Hello World!')
      5 

ModuleNotFoundError: No module named 'tensorflow'

In [ ]: