import numpy as np
import tensorflow as tf

from tensorflow.examples.tutorials.mnist import input_data

 

 1.在自己编译器运行的python环境的...\Python3\Lib\site-packages,该目录下有文件夹tensorflow, tensorflow_core, ensorflow_estimator

 

 2.进入tensorflow_core\examples文件夹,如果文件夹下只有saved_model这个文件,则是没有tutorials。

 

 3.进入github的tensorflow主页下载缺失的文件 网址为:https://github.com/tensorflow/tensorflow

 

 

4.然后在下载文件的路径tensorflow-master\tensorflow\examples\这里找到了tutorials文件夹,把tutorials整个文件夹拷贝到上文中提到的...\Python3\Lib\site-packages\tensorflow_core\examples\

 

 5、推出当前python服务,重新启动运行就可以正常运行了