🛠️ Scheduled Maintenance | We’ll be undergoing scheduled maintenance and upgrades between 00:00 PST Jan 26th until 00:00 PST Jan 28th. There may be brief interruption of services in that period. We apologize for the inconvenience.

The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Anybody can ask a question
Anybody can answer
The best answers are voted up and moderated by our team

ModuleNotFoundError: No module named ‘tensorflow.examples.tutorials

ModuleNotFoundError: No module named ‘tensorflow.examples.tutorials

Super Learner

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 Answer

365 Team

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.teachable.com/courses/enrolled/284663
If you want to follow the more recent course (TensorFlow 2), please proceed at this link: https://365datascience.teachable.com/courses/enrolled/614390
The 365 Team