I installed tensorflow in my system. I am able to import tensorflow module. But when I try to call constant function, it throws me the below error.
import tensorflow as tf
hello = tf.constant(10)
AttributeError: module 'tensorflow' has no attribute 'constant'