TensorFlow GPU无法加载/导入

时间:2018-10-28 04:27:04

标签: python python-3.x tensorflow gpu

我安装了TensorFlow-GPU 1.11.0,当我尝试导入它时,出现错误。我被困在这一点上。 我的系统规格是

  • Windows 10 64位
  • GeForce GTX1080
  • 图形驱动程序385.54
  • Python 3.5.4
  • Cuda Toolkit 9.0
  • CuDNN 7.3
  • Visual Studio 2015

不知道缺少了什么。请帮助我解决这个问题。我会很感激的。下面是错误

let great maybeY maybeZ = 
    Option.map2 cons maybeZ maybeY

在处理上述异常期间,发生了另一个异常:

Traceback (most recent call last):
  File "C:\Users\Ahsan\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\Users\Ahsan\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\Users\Ahsan\AppData\Local\Programs\Python\Python35\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\Ahsan\AppData\Local\Programs\Python\Python35\lib\imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
  File "C:\Users\Ahsan\AppData\Local\Programs\Python\Python35\lib\imp.py", line 343, in load_dynamic
    return _load(spec)
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

1 个答案:

答案 0 :(得分:0)

String

此命令以前在类似情况下对我有用。希望对您有帮助。