Tensorflow==2.0.0a0 - AttributeError: module 'tensorflow' has ...
stackoverflow.com › questions › 56192998May 17, 2019 · All libraries are imported but init = tf.global_variables_initializer () generates the error: AttributeError: module 'tensorflow' has no attribute 'global_variables_initializer'. Also, tf.Session () generates the error: AttributeError: module 'tensorflow' has no attribute 'Session'. So I guess it may be something related to Tensorflow itself, but I don't have older versions confliciting in my Anaconda environment.