Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named core_rnn #36

Open
liewsanmin opened this issue Apr 15, 2017 · 1 comment
Open

ImportError: No module named core_rnn #36

liewsanmin opened this issue Apr 15, 2017 · 1 comment

Comments

@liewsanmin
Copy link

Hi,

I'm trying to run ./number_classifier_tflearn.py and the following error occurs:
hdf5 is not supported on this machine (please install/reinstall h5py for optimal experience) Traceback (most recent call last): File "./number_classifier_tflearn.py", line 3, in <module> import tflearn File "/usr/local/lib/python2.7/site-packages/tflearn/__init__.py", line 21, in <module> from .layers import normalization File "/usr/local/lib/python2.7/site-packages/tflearn/layers/__init__.py", line 10, in <module> from .recurrent import lstm, gru, simple_rnn, bidirectional_rnn, \ File "/usr/local/lib/python2.7/site-packages/tflearn/layers/recurrent.py", line 8, in <module> from tensorflow.contrib.rnn.python.ops.core_rnn import static_rnn as _rnn, \ ImportError: No module named core_rnn

Any suggestions?

OS : OSX Yosemit on Unix

@spirovykt
Copy link

spirovykt commented Jun 8, 2017

You will should delete current Tensorflow version and install again. Just ignore requirements. On Ubuntu it looks like:
$sudo pip uninstall tensorflow
$sudo pip install tensorflow

Pip is Python module for easy install other modules (libraries)

Maybe the following helps you in other case:
-Change interpreter of current Project (either to 3.5 or 2.7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants