Сбой импорта tflearn с новой версией tenorflow
Я пытаюсь импортировать tflearn, но это не удается:
>>> import tflearn
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/tflearn/__init__.py", line 21, in <module>
from .layers import normalization
File "/usr/local/lib/python2.7/dist-packages/tflearn/layers/__init__.py", line 10, in <module>
from .recurrent import lstm, gru, simple_rnn, bidirectional_rnn, \
File "/usr/local/lib/python2.7/dist-packages/tflearn/layers/recurrent.py", line 8, in <module>
from tensorflow.contrib.rnn.python.ops.core_rnn import static_rnn as _rnn, \
File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/rnn/python/ops/core_rnn.py", line 34, in <module>
_state_size_with_prefix = rnn_cell_impl._state_size_with_prefix
AttributeError: 'module' object has no attribute '_state_size_with_prefix'
>>>
Это мои версии Tensorflow и Tflearn:
>>> pip list
tensorflow (1.4.0)
tensorflow-gpu (1.0.1)
tensorflow-tensorboard (0.4.0rc2)
terminado (0.8.1)
testpath (0.3.1)
tflearn (0.3)
>>>
Я установил tflearn с помощью pip, и он работал до того, как перейти на новую версию Tensorflow v.1.4.0. Есть идеи?