This error may come if you have installed TensorFlow 2.0 and want to run code that is not compatible with TensorFlow 2.0 You may like to watch a video on Neural Network from Scratch in Python https://www.youtube.com/watch?v=6bULlN2dUCo For example if you are trying to run below code, you will get the above error. x = … Continue reading AttributeError: module tensorflow has no attribute placeholder TensorFlow 2.0