Tensorflow提供错误ImportError:DLL加载失败,错误代码为-1073741795

时间:2020-03-23 07:53:41

标签: python tensorflow keras

我在Windows 7上使用的是python 3.7,Tensorflow 1.14.0,keras 2.2.5。当我运行该项目时,它抛出以下错误。

`Using TensorFlow backend.
 Traceback (most recent call last):
 File "E:\Python\PycharmProjects\nFace\venv\lib\site- 
 packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
 from tensorflow.python.pywrap_tensorflow_internal import *
 File "E:\Python\PycharmProjects\nFace\venv\lib\site- 
 packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
 File "E:\Python\PycharmProjects\nFace\venv\lib\site- 
 packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
 File "C:\Users\sandip.d\AppData\Local\Programs\Python\Python37\lib\imp.py", line 243, in load_module
 return load_dynamic(name, filename, file)
 File "C:\Users\sandip.d\AppData\Local\Programs\Python\Python37\lib\imp.py", line 343, in 
 load_dynamic
 return _load(spec)
ImportError: DLL load failed with error code -1073741795

During handling of the above exception, another exception occurred:`

我尝试了许多解决方案,我是Python和堆栈溢出的新手。我无法更新tensorflow和keras版本。

0 个答案:

没有答案