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

0 votes

I am getting this below error when I tried to import tensorflow in my program. I have tensorflow installed in my system. 

ImportError: No module named 'tensorflow.contrib.rnn.python.ops.core_rnn
Apr 22 in Machine Learning by akhtar
• 10,580 points
1,033 views

1 answer to this question.

0 votes

Hi@akhtar,

I think you got this error because of incompatible versions of tflearn and tensorflow in your system. To avoid this error you can remove tensorflow and tflearn packages and install the latest version.

$ pip uninstall tflearn
$ pip uninstall tensorflow
$ pip install -I tensorflow
$ pip install -I tflearn

Hope this will help.

answered Apr 22 by MD
• 23,050 points

Related Questions In Machine Learning

0 votes
0 answers

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

i am building an Rasa chatbot but ...READ MORE

Nov 3, 2019 in Machine Learning by Usman
• 120 points
1,260 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
• 53,080 points
100 views
0 votes
1 answer

AttributeError: module 'tensorflow' has no attribute 'constant'

Hi@akhtar, There may be problem in the versions. ...READ MORE

answered Apr 21 in Machine Learning by MD
• 23,050 points
495 views
0 votes
1 answer

AttributeError: module 'tensorflow' has no attribute 'enable_eager_execution'

Hi@akhtar, Tensorflow 2.0 has eager_execution enabled by default and ...READ MORE

answered Apr 21 in Machine Learning by MD
• 23,050 points
138 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 947 views
0 votes
0 answers
+4 votes
6 answers
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
• 23,050 points
931 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
• 23,050 points
105 views