Cannot import Tensorflow for GPU on Windows 10

后端 未结 9 1812
被撕碎了的回忆
被撕碎了的回忆 2020-11-27 08:16

Trying to install the gpu version of Tensorflow on my machine, but I\'m getting this error when trying \'import tensorflow\'


ImportError

9条回答
  •  广开言路
    2020-11-27 08:39

    It should be noted that starting from version 1.0 up until version 1.2 Tensorflow needed Cuda8 and cudnnv5.1. Therefore You need to have cudnnv5.1 installed.
    This question was asked on April 24 2017, This means the OP was trying to install version 1.1.0(at the time, the latest version) which at the time needed cudnnv5.1 and python3.5. So he needed to have cudnnv5.1 to fix his/her problem.

    However, if you are trying to install the latest version of Tensorflow, that is anything greater than 1.3.0, you need cudnnv6.0 +.
    If you are getting this error on 1.3.0, then it means you need cudnnv6.0. put that into your PATH and you will be fine.

提交回复
热议问题