Last answered:

14 Aug 2020

Posted on:

12 Aug 2020

0

ModuleNotFoundError: No module named 'tensorflow.examples.tutorials

I am currently with attending the Deep Learning with TensorFlow. However I can’t run any of the code based on the classes.
 
I run the fist lines of code to download the MNIST data set and I received the following error: ” ModuleNotFoundError: No module named 'tensorflow.examples.tutorials’.”
 
Note I am running Python3 with Jupiter under anaconda.
the version of tensorflow is tall is 2.30.
 
Please advise
 
and i used import tensorflow as tf
1 answers ( 0 marked as helpful)
Instructor
Posted on:

14 Aug 2020

0
Hi Serge, Thanks for reaching out! Currently, we have two courses: Deep Learning with TensorFlow and Deep Learning with TensorFlow 2. The theoretical parts are the same. However, the code is different for the two versions. After all the theory of NNs doesn’t change. Only the version of TensorFlow does. You are encountering this issue because you have installed TF2 (judging by your version - 2.30). If you want to follow the TF1 version, please follow this link: https://365datascience.com/courses/deep-learning-with-tensorflow/ If you want to follow the more recent course (TensorFlow 2), please proceed at this link: https://365datascience.com/courses/deep-learning-with-tensorflow-2-0/ Best,
The 365 Team

Submit an answer