Importerror using tensorflow: DLL load failed: the specified program cannot be found


will encounter a variety of problems in the process of using tensorflow, which will be recorded here for my review and later learning.

problem description

has tensorflow installed in anaconda, and the call has this problem:

>>> import tensorflow
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:\Anaconda\envs\dl\lib\site-packages\tensorflow\", line 24, in <module>
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "D:\Anaconda\envs\dl\lib\site-packages\tensorflow\python\", line 59, in <module>
    from tensorflow.core.framework.graph_pb2 import *
  File "D:\Anaconda\envs\dl\lib\site-packages\tensorflow\core\framework\", line 6, in <module>
    from google.protobuf import descriptor as _descriptor
  File "D:\Anaconda\envs\dl\lib\site-packages\google\protobuf\", line 47, in <module>
    from google.protobuf.pyext import _message
ImportError: DLL load failed: 找不到指定的程序。


through careful review, yesterday I upgraded to protobuf when installing object-detection, so, call back the protobuf version, it should be ok.

pip install protobuf==3.6.0

Read More: