profile
viewpoint

Ask questionsModuleNotFoundError: No module named 'tensorflow.examples.tutorials'

<em>Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template</em>

System information

  • OS Platform and Distribution (macOS Mojave 10.14.6):
  • TensorFlow installed from (source):
  • TensorFlow version: 2.0.0-rc1
  • Python version: Python 3.7.4
  • Installed using virtualenv? pip? conda?: pip

Describe the problem I am trying to run a basic mnist classifier tutorial using tensorflow (without keras) and I am getting the following error: Upon running: from tensorflow.examples.tutorials.mnist import input_data I get the following error: ModuleNotFoundError: No module named 'tensorflow.examples.tutorials'

Any help of how to fix this issue is highly appreciated.

tensorflow/tensorflow

Answer questions HumorLogic

I met

I found a solution at this link: https://blog.csdn.net/weixin_41663570/article/details/102512468

You just need to download the lost files and copy them to the tensorflow-core/ examples.

I use this method to solve the problem

useful!

Related questions

ModuleNotFoundError: No module named 'tensorflow.contrib' hot 8
Error occurred when finalizing GeneratorDataset iterator hot 7
tensorflow-gpu CUPTI errors
Error loading tensorflow
ModuleNotFoundError: No module named 'tensorflow.contrib'
module 'tensorflow' has no attribute 'ConfigProto'
TF 2.0 'Tensor' object has no attribute 'numpy' while using .numpy() although eager execution enabled by default
When importing TensorFlow, error loading Hadoop
AttributeError: module &#39;tensorflow.python.framework.op_def_registry&#39; has no attribute &#39;register_op_list&#39;
tf.keras.layers.Conv1DTranspose ?
[TF 2.0] tf.keras.optimizers.Adam hot 4
Lossy conversion from float32 to uint8. Range [0, 1]. Convert image to uint8 prior to saving to suppress this warning. hot 4
TF2.0 AutoGraph issue hot 4
Tf.Keras metrics issue hot 4
module 'tensorflow.python._pywrap_tensorflow_internal' has no attribute 'TFE_NewContextOptions' hot 4
Github User Rank List