Tensorflow错误:DLL加载失败:找不到指定的过程
我试图在Windows8.1 64bit python3.6.0中使用pip安装tensorflow cpu,pip install
tensorflow
但这给了我这个错误:
Traceback (most recent call last): File "C:\Users\Laitooo
San\Desktop\tf.py", line 1, in <module>
import tensorflow as tf File "C:\Users\Laitooo San\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py",
line 24, in <module>
from tensorflow.python import * File "C:\Users\Laitooo San\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\Laitooo
San\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\Laitooo
San\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.
我下载了python36.dll并确保存在所有其他.dll并安装Microsoft Visual C ++ 2015
我还卸载了tensorflow并安装了几次其他版本,但没有任何结果。
-
Github上也有类似的问题:
如果安装答案之一中提供的wheel文件,则应该解决问题。您可以在此处找到轮文件。
您可以使用pip安装wheel文件。首先将当前目录更改为安装位置。然后,
pip install tensorflow-1.6.0-cp36-cp36m-win_amd64.whl