深度大佬进修 发表于 2018-9-18 14:22:56

No module named '_pywrap_tensorflow_internal'

本帖最后由 深度大佬进修 于 2018-9-18 14:26 编辑

ImportError Traceback (most recent call last) ImportError: DLL load failed: The specified module could not be found.ImportError Traceback (most recent call last)
import versionImportError: No module named '_pywrap_tensorflow_internal'ImportError Traceback (most recent call last) in () ----> 1 import tensorflowImportError: Traceback (most recent call last): File _call_with_frames_removed ImportError: DLL load failed: The specified module could not be found.ImportError: No module named '_pywrap_tensorflow_internal'
Failed to load the native TensorFlow runtime.


出现这个错误可能是因为没有添加环境变量,只需要添加环境变量即可。
如果环境变量无误,可以尝试下面方法:

把C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin. 的cudnn64_5.dll重命名名为 cudnn64_6.dll

参考自:
https://stackoverflow.com/questions/43577923/cannot-import-tensorflow-for-gpu-on-windows-10






I_Like_AI 发表于 2018-10-11 08:06:18

哦哦,是这样啊
页: [1]
查看完整版本: No module named '_pywrap_tensorflow_internal'