introduction h1>
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\__init__.py", line 24, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "D:\Anaconda\envs\dl\lib\site-packages\tensorflow\python\__init__.py", line 59, in <module>
from tensorflow.core.framework.graph_pb2 import *
File "D:\Anaconda\envs\dl\lib\site-packages\tensorflow\core\framework\graph_pb2.py", line 6, in <module>
from google.protobuf import descriptor as _descriptor
File "D:\Anaconda\envs\dl\lib\site-packages\google\protobuf\descriptor.py", line 47, in <module>
from google.protobuf.pyext import _message
ImportError: DLL load failed: 找不到指定的程序。
solution
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
![在这里插入图片描述](https://img-blog.csdnimg.cn/20190708150939546.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2x2c2VoYWl5YW5nMTk5Mw==,size_16,color_FFFFFF,t_70)
div>
Read More:
- ImportError: DLL load failed while importing xxx: The specified program could not be found.
- After tensorflow installation, an error occurred while importing: importerror: DLL load failed: the specified module could not be found
- tensorflow import error: DLL load failed: The specified module could not be found (DLL load failed: The specified module could not be found)
- Tensorflow import error: DLL load failed: the specified module could not be found
- ImportError: DLL load failed: The specified module could not be found
- Python’s importerror: DLL load failed: the specified module was not found and the problem was solved
- Windows10解决ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed
- Sdl2 – importerror: DLL load failed: the specified module was not found.
- OpenCV3.1 + Python2.7 error “DLL load failed: The specified module could not be found”
- To solve the problem of importerror when installing tensorflow: libcublas.so . 10.0, failed to load the native tensorflow runtime error
- from ._ NNLS import NNLS importerror: DLL load failed: the specified module was not found.
- Python import GDAL failed: DLL load failed. The specified module cannot be found.
- vscode import numpy error:DLL load failed: The specific module could not be found
- DLL load failed: The specified procedure could not be found
- Python error: importerror: DLL load failed: unable to find the specified module solution
- How to solve “import cv2 failed ImportError: DLL load fail: Cannot find the specified module” in Anaconda environment
- Jumper notebook, import numpy, prompt “importerror: DLL load failed: unable to find the specified module”
- Importerror: DLL load failed while importing win32gui: 1 is not a valid Win32 Application.
- Error: importerror: DLL load failed: the page file is too small to complete the operation.
- This program cannot be started because vcruntime140 is missing from your computer_ 1.dll。 Try to install the program again to solve the problem.