title: ImportError: Could not find 'cudnn64_7.dll'
body: <p>I am encountering the following error: </p>
  
  <pre><code> Traceback (most recent call last):   File
   "C:\Anaconda\envs\tensorflow\lib\site-packages\tensorflow\python\platform\self_check.py",
   line 87, in preload_check
       ctypes.WinDLL(build_info.cudnn_dll_name)   File "C:\Anaconda\envs\tensorflow\lib\ctypes\__init__.py", line 348, in
   __init__
       self._handle = _dlopen(self._name, mode) OSError: [WinError 126] The specified module could not be found
  
   During handling of the above exception, another exception occurred:
  
   Traceback (most recent call last):   File "&lt;stdin    ", line 1, in
   &lt;module       File
   "C:\Anaconda\envs\tensorflow\lib\site-packages\tensorflow\__init__.py",
   line 22, in &lt;module    
       from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import   File
   "C:\Anaconda\envs\tensorflow\lib\site-packages\tensorflow\python\__init__.py",
   line 49, in &lt;module    
       from tensorflow.python import pywrap_tensorflow   File "C:\Anaconda\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow.py",
   line 30, in &lt;module    
       self_check.preload_check()   File "C:\Anaconda\envs\tensorflow\lib\site-packages\tensorflow\python\platform\self_check.py",
   line 97, in preload_check
       % (build_info.cudnn_dll_name, build_info.cudnn_version_number)) ImportError: Could not find 'cudnn64_7.dll'. TensorFlow requires that
   this DLL be installed in a directory that is named in your %PATH%
   environment variable. Note that installing cuDNN is a separate step
   from installing CUDA, and this DLL is often found in a different
   directory from the CUDA DLLs. You may install the necessary DLL by
   downloading cuDNN 7 from this URL: https://developer.nvidia.com/cudnn
  </code></pre>
  
  <p>I have installed the required "cuDNN 7" files in the directory mentioned in the %Path% environment, yet the statement</p>
  
  <pre><code>import tensorflow as tf
  </code></pre>
  
  <p>is not working. I have downloaded the cuDNN 7 files from the mentioned site:</p>
  
  <p><a href="https://developer.nvidia.com/cudnn" rel="nofollow noreferrer">https://developer.nvidia.com/cudnn</a></p>
  
  <p>I have gone through all the answers on StackOverflow and yet I am getting stuck with the same error. 
  Please guide me on how to run the above statement. </p>