tflearn / tflearn

Deep learning library featuring a higher-level API for TensorFlow.
http://tflearn.org
Other
9.62k stars 2.41k forks source link

ImportError: cannot import name 'remove_undocumented' #811

Open litingsjj opened 7 years ago

litingsjj commented 7 years ago

When I import tflearn, there have problem like that:

import tflearn

Traceback (most recent call last):

File "", line 1, in import tflearn

File "/home/lt/anaconda3/lib/python3.5/site-packages/tflearn/init.py", line 21, in from .layers import normalization

File "/home/lt/anaconda3/lib/python3.5/site-packages/tflearn/layers/init.py", line 11, in from .recurrent import lstm, gru, simple_rnn, bidirectional_rnn, \

File "/home/lt/anaconda3/lib/python3.5/site-packages/tflearn/layers/recurrent.py", line 13, in from tensorflow.contrib.rnn.python.ops.core_rnn import static_rnn as _rnn, static_bidirectional_rnn as _brnn

File "/home/lt/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/rnn/python/ops/core_rnn.py", line 22, in from tensorflow.contrib.rnn.python.ops import core_rnn_cell

File "/home/lt/anaconda3/lib/python3.5/site-packages/tensorflow/contrib/rnn/python/ops/core_rnn_cell.py", line 49, in from tensorflow.python.util.all_util import remove_undocumented

ImportError: cannot import name 'remove_undocumented'

litingsjj commented 7 years ago

I don't know how to solve it. Someone can help me? thanks!

willduan commented 7 years ago

which is your tensorflow version ? Please try to install tensorflow version 1.0.0