🛠️ 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

No module named ‘tensorflow.examples.tutorials’

No module named ‘tensorflow.examples.tutorials’


Hello Team,
I am trying to run the code
import numpy as np
import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets(“MNIST_data”, one_hot=True)
But i got this error:

ModuleNotFoundError: No module named 'tensorflow.examples.tutorials'

Do you know why?
TF version 2.2.0
Kindly note that the code changes a lot from what appears on the video and with the current version.

Dear Team, I just realized that the course is split in two, one for TF v1 and other for v2. It would be great to explain that at the begining of the course, due it seems that the course “Deep Learning with TensorFlow 2.0” is the second part of “Deep Learning with TensorFlow”. Thanks for consider my idea

7 months

I faced the same problem. When I used TensorFlow 2.0 code a new error occured: ModuleNotFoundError: No module named ‘tensorflow_datasets’. So I still do not know how fix it.

6 months
1 Answer

365 Team

Hi there,
In fact, the two are two separate courses.
Both courses follow the same theoretical lectures. However, the code is different for the two versions. After all the theory of NNs doesn’t change. Only the version of TensorFlow does.
Apart from the TensorFlow version, the knowledge that you will gain will be unchanged!
The 365 Team