From tensorflow_core.examples.tutorials.mnist import input_data
appears ImportError: cannot import name 'trace' error solution
Step 1: Open annacomnda Prompt, activate tensorflow, pip list
Step 2: Check whether the versions of tensorflowyu and tensorflow-estimator are consistent.
Step 3: Install Enter pip install tensorflow-estimator==1.15.0 to install this version.
Step 4: Check again whether the two versions are consistent.
Success!
Successfully run! !
Reference materials: Configuring tensorflow environment under anaconda by riding a donkey to learn on CSDN