ModuleNotFoundError: No module named 'mnist'

+1 vote

Hi Guys,

I am trying to use mnist handwriting example to create a neural network error. But it shows me the below error at the time of importing mnist module.

ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-599f2a84d274> in <module>
----> 1 from mnist import MNIST
ModuleNotFoundError: No module named 'mnist'
May 9 in Machine Learning by akhtar
• 25,030 points
690 views

1 answer to this question.

0 votes

Hi@akhtar,

This mnist package comes with keras module generally. But you can also download this module from python packages. Use this below given command to download the module.

$ pip install python-mnist

Hope this will help.

answered May 9 by MD
• 56,480 points

Related Questions In Machine Learning

0 votes
1 answer

ModuleNotFoundError: No module named 'cPickle'

Hi@akhtar, There is no cPickle module in Python 3. ...READ MORE

answered Jul 14 in Machine Learning by MD
• 56,480 points
390 views
0 votes
1 answer

ImportError: No module named 'tensorflow.contrib.rnn.python.ops.core_rnn

Hi@akhtar, I think you got this error because of incompatible ...READ MORE

answered Apr 22 in Machine Learning by MD
• 56,480 points
3,945 views
0 votes
1 answer

ImportError: No module named seaborn

Hi@akhtar, By default it comes with Anaconda but ...READ MORE

answered Apr 28 in Machine Learning by MD
• 56,480 points
746 views
0 votes
1 answer

ImportError: No module named imgaug

Hi@akhtar, You need to install the imgaug module ...READ MORE

answered Jul 13 in Machine Learning by MD
• 56,480 points
104 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 1,357 views
0 votes
0 answers
+4 votes
6 answers

Lowercase in Python

You can simply the built-in function in ...READ MORE

answered Apr 11, 2018 in Python by hemant
• 5,800 points
1,010 views
0 votes
1 answer

ModuleNotFoundError: No module named 'tensorflow'

Hi@akhtar, To avoid this error, you can use ...READ MORE

answered Apr 21 in Machine Learning by MD
• 56,480 points
4,596 views
0 votes
1 answer

ModuleNotFoundError: No module named 'keras'

Hi@akhtar, I think this problem is related to ...READ MORE

answered Apr 23 in Machine Learning by MD
• 56,480 points
5,992 views