XDflight
2020-06-20 10:38
采纳率: 0%
浏览 759

TensorFlow安装后无法使用,无法找到DLL文件?

解释器版本:Python 3.5.0 (virtualenv)

pip版本:latest

TensorFlow版本:GPU-latest

CUDA版本:10.1

CUDNN版本:与10.1 CUDA兼容

GPU型号:NVIDIA GTX 980M

CPU架构:x86

系统版本:Windows 10 1909 x64

VC运行库:2005-2019 所有库包括x86和x64都装了

P.S.:以前成功运行过,今天突然不行了。用不用virtualenv都不行。

报错信息:

2020-06-20 10:34:48.589626: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
Traceback (most recent call last):
  File "v200620.py", line 4, in <module>
    import tensorflow as tf
  File "C:\Users\H\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\__init__.py", line 41, in <module>
    from tensorflow.python.tools import module_util as _module_util
  File "C:\Users\H\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\__init__.py", line 64, in <module>
    from tensorflow.python.framework.framework_lib import *  # pylint: disable=redefined-builtin
  File "C:\Users\H\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\framework_lib.py", line 24, in <module>
    from tensorflow.python.framework.device import DeviceSpec
  File "C:\Users\H\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\device.py", line 24, in <module>
    from tensorflow.python.framework import device_spec
  File "C:\Users\H\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\device_spec.py", line 21, in <module>
    from tensorflow.python.util.tf_export import tf_export
  File "C:\Users\H\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\util\tf_export.py", line 48, in <module>
    from tensorflow.python.util import tf_decorator
  File "C:\Users\H\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\util\tf_decorator.py", line 64, in <module>
    from tensorflow.python.util import tf_stack
  File "C:\Users\H\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\util\tf_stack.py", line 28, in <module>
    from tensorflow.python import _tf_stack
ImportError: DLL load failed: 找不到指定的程序。

望各位大神能帮忙看看是怎么回事,我可以提高悬赏

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

1条回答 默认 最新

相关推荐 更多相似问题