-
Notifications
You must be signed in to change notification settings - Fork 336
Description
环境:win10 64 python 3.6 pycharm 2018
错误代码:
Traceback (most recent call last):
File "object_detection/builders/model_builder_test.py", line 20, in
import tensorflow as tf
File "D:\Python\lib\site-packages\tensorflow_init_.py", line 99, in
from tensorflow_core import *
File "D:\Python\lib\site-packages\tensorflow_core_init_.py", line 28, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "D:\Python\lib\site-packages\tensorflow_init_.py", line 50, in getattr
module = self.load()
File "D:\Python\lib\site-packages\tensorflow_init.py", line 44, in _load
module = importlib.import_module(self.name)
File "D:\Python\lib\importlib_init.py", line 126, in import_module
return _bootstrap.gcd_import(name[level:], package, level)
File "D:\Python\lib\site-packages\tensorflow_core\python_init.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "D:\Python\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "D:\Python\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "D:\Python\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "D:\Python\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "D:\Python\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "D:\Python\lib\imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: DLL load failed: 找不到指定的模块。