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, 2020 in Machine Learning by akhtar
• 38,170 points
7,221 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, 2020 by MD
• 95,160 points

Related Questions In Machine Learning

0 votes
1 answer

ImportError: No module named imgaug

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

answered Jul 13, 2020 in Machine Learning by MD
• 95,160 points
455 views
0 votes
1 answer

ImportError: No module named copyreg

Hi@akhtar, You can upgrade to six-1.10.x using $ easy_install ...READ MORE

answered Jul 13, 2020 in Machine Learning by MD
• 95,160 points
327 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, 2020 in Machine Learning by MD
• 95,160 points
2,113 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, 2020 in Machine Learning by Sirajul
• 59,050 points
346 views
0 votes
2 answers
+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 2,035 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,810 points
1,557 views
0 votes
2 answers

ModuleNotFoundError: No module named 'tensorflow'

If you are using Anaconda, go to ...READ MORE

answered Nov 17, 2020 in Machine Learning by Vignesh
12,025 views
0 votes
1 answer

ImportError: No module named seaborn

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

answered Apr 28, 2020 in Machine Learning by MD
• 95,160 points
2,046 views