无法导入tflearn错误DLL加载未找到

时间:2018-10-03 20:44:04

标签: python tensorflow tflearn

当我在cmd中打开python并尝试导入tflearn时,出现此错误。我是否缺少其他需要安装的东西?我也在Windows上,这会导致此错误吗?我已经厌倦了卸载并重新安装并重新启动计算机。

>>> import tflearn
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Samuel\AppData\Local\Programs\Python\Python36\lib\site-packages\tflearn\__init__.py", line 4, in <module>
    from . import config
  File "C:\Users\Samuel\AppData\Local\Programs\Python\Python36\lib\site-packages\tflearn\config.py", line 3, in <module>
    import tensorflow as tf
  File "C:\Users\Samuel\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py", line 22, in <module>
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "C:\Users\Samuel\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py", line 52, in <module>
    from tensorflow.core.framework.graph_pb2 import *
  File "C:\Users\Samuel\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\core\framework\graph_pb2.py", line 6, in <module>
    from google.protobuf import descriptor as _descriptor
  File "C:\Users\Samuel\AppData\Local\Programs\Python\Python36\lib\site-packages\google\protobuf\descriptor.py", line 47, in <module>
    from google.protobuf.pyext import _message

ImportError: DLL load failed: The specified procedure could not be found.

这是我安装的东西,我用pip来安装它。和python 3.6我需要安装什么东西?

Package             Version
------------------- --------
absl-py             0.5.0
astor               0.7.1
backcall            0.1.0
bleach              3.0.0
colorama            0.3.9
contextlib2         0.5.5
cycler              0.10.0
Cython              0.28.5
decorator           4.3.0
defusedxml          0.5.0
entrypoints         0.2.3
gast                0.2.0
grpcio              1.15.0
h5py                2.8.0
ipykernel           5.0.0
ipython             7.0.1
ipython-genutils    0.2.0
ipywidgets          7.4.2
jedi                0.13.1
Jinja2              2.10
jsonschema          2.6.0
jupyter             1.0.0
jupyter-client      5.2.3
jupyter-console     6.0.0
jupyter-core        4.4.0
Keras-Applications  1.0.6
Keras-Preprocessing 1.0.5
kiwisolver          1.0.1
lxml                4.2.5
Markdown            3.0.1
MarkupSafe          1.0
matplotlib          3.0.0
mistune             0.8.3
nbconvert           5.4.0
nbformat            4.4.0
notebook            5.7.0
numpy               1.15.2
opencv-python       3.4.3.18
pandas              0.23.4
pandocfilters       1.4.2
parso               0.3.1
pickleshare         0.7.5
Pillow              5.3.0
pip                 18.0
prometheus-client   0.4.0
prompt-toolkit      2.0.5
protobuf            3.6.1
Pygments            2.2.0
pyparsing           2.2.2
pypiwin32           223
python-dateutil     2.7.3
pytz                2018.5
pywin32             224
pywinpty            0.5.4
pyzmq               17.1.2
qtconsole           4.4.1
Send2Trash          1.5.0
setuptools          28.8.0
simplegeneric       0.8.1
six                 1.11.0
tensorboard         1.11.0
tensorflow          1.11.0
tensorflow-gpu      1.11.0
termcolor           1.1.0
terminado           0.8.1
testpath            0.4.2
tflearn             0.3.2
tornado             5.1.1
traitlets           4.3.2
virtualenv          16.0.0
wcwidth             0.1.7
webencodings        0.5.1
Werkzeug            0.14.1
wheel               0.32.0
widgetsnbextension  3.4.2

0 个答案:

没有答案