No Module Named '_pywrap_tensorflow_internal'

前端 未结 10 1557
自闭症患者
自闭症患者 2020-12-03 17:23

While trying to validate the installation of tensorflow-gpu, I get an ImportError when trying to execute \"import tensorflow as tf\". I am using a Quadro K620 on Windows 7.

10条回答
  •  庸人自扰
    2020-12-03 17:43

    I came across the same issue today, please switch to cuDNN v5.1 Library for Windows instead as @mickdelaney suggested and then try to

    1. Check environment settings of CUDA, normally all the settings of CUDA had been added to Windows environment

    2. Copy files in bin, lib and include of cuDNN to bin, lib and include of CUDA respectively. Normally the directory is C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA

    And then you can import tensorflow and run your code. Good luck!

提交回复
热议问题