ModuleNotFoundError: No module named 'tensorflow'

0 votes

Hi Guys,

I installed tensorflow in my system, but I am not able to import this module. I got this below error.

ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-3-d6579f534729> in <module>
----> 1 import tensorflow

ModuleNotFoundError: No module named 'tensorflow'
Apr 21 in Machine Learning by akhtar
• 17,950 points
3,142 views

1 answer to this question.

0 votes

Hi@akhtar,

To avoid this error, you can use this below given command.

$ conda install tensorflow

But before installing this make sure you have numpy in your system.

answered Apr 21 by MD
• 41,620 points

Related Questions In Machine Learning

+1 vote
1 answer

ModuleNotFoundError: No module named 'mnist'

Hi@akhtar, This mnist package comes with keras module ...READ MORE

answered May 9 in Machine Learning by MD
• 41,620 points
450 views
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
• 41,620 points
109 views
0 votes
1 answer

AttributeError: module 'tensorflow.compat' has no attribute 'v1'

Hi@Usman, It seems you are using an older ...READ MORE

answered Jul 18 in Machine Learning by MD
• 41,620 points
1,452 views
0 votes
1 answer

After installation of tensorflow ,attribute error: no Session module exists

To install TensorFlow you need to have ...READ MORE

answered Mar 16 in Machine Learning by Sirajul
• 55,470 points
173 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,196 views
0 votes
0 answers
0 votes
0 answers

Hello I have some errors while implementing variational autoencoder

def dense_layers(sizes): return tfk.Sequential([tfkl.Dense(size, ...READ MORE

May 18, 2019 in Machine Learning by anonymous

edited May 20, 2019 by Omkar 445 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
• 41,620 points
2,941 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
• 41,620 points
3,481 views