Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行python时 显示错误 #6

Open
tomret opened this issue Nov 6, 2019 · 1 comment
Open

运行python时 显示错误 #6

tomret opened this issue Nov 6, 2019 · 1 comment

Comments

@tomret
Copy link

tomret commented Nov 6, 2019

环境: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: 找不到指定的模块。

@tomret
Copy link
Author

tomret commented Nov 6, 2019

tensorflow 1.15.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant