我試着通過PIP安裝tflearn如下TFLearn PIP安裝錯誤
pip install tflearn
,現在當我打開蟒蛇,會發生以下情況:
>>> import tflearn Traceback (most recent call last): File "<stdin>", line 1, in <module> File "//anaconda/lib/python2.7/site-packages/tflearn/__init__.py", line 22, in <module> from . import activations File "//anaconda/lib/python2.7/site-packages/tflearn/activations.py", line 7, in <module> from . import initializations File "//anaconda/lib/python2.7/site-packages/tflearn/initializations.py", line 5, in <module> from tensorflow.contrib.layers.python.layers.initializers import \ ImportError: cannot import name variance_scaling_initializer
任何想法?我正在使用python的anaconda安裝。
你也跟着[說明](http://tflearn.org/installation/)?你有沒有安裝TensorFlow並且它工作? –
我也有這個錯誤。我有一個安裝了tensorflow 0.8.0rc0的工作版本。 – itfische
您可以編輯您的文章,並嘗試導入張量流時收到錯誤 –