title: ImportError: DLL load failed: The specified module could not be found.No module named '_pywrap_tensorflow_internal'
body: <p>I am trying to set up the tensorflow-gpu1.3 on windows10 64 bit. I have followed all the instructions provided in <a href="https://www.tensorflow.org/install/install_windows" rel="nofollow noreferrer">https://www.tensorflow.org/install/install_windows</a>. I have CUDA path setup with cudnn64_5.dll, python version is 3.5.</p>
  
  <p>I am getting an error when I import tensorflow.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>Traceback (most recent call last):
    File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
      return importlib.import_module(mname)
    File "C:\Program Files\Python35\lib\importlib\__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "&lt;frozen importlib._bootstrap&gt;", line 986, in _gcd_import
    File "&lt;frozen importlib._bootstrap&gt;", line 969, in _find_and_load
    File "&lt;frozen importlib._bootstrap&gt;", line 958, in _find_and_load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 666, in _load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 577, in module_from_spec
    File "&lt;frozen importlib._bootstrap_external&gt;", line 914, in create_module
    File "&lt;frozen importlib._bootstrap&gt;", line 222, in _call_with_frames_removed
  ImportError: DLL load failed: The specified module could not be found.
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 41, in &lt;module&gt;
      from tensorflow.python.pywrap_tensorflow_internal import *
    File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in &lt;module&gt;
      _pywrap_tensorflow_internal = swig_import_helper()
    File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
      return importlib.import_module('_pywrap_tensorflow_internal')
    File "C:\Program Files\Python35\lib\importlib\__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
  ImportError: No module named '_pywrap_tensorflow_internal'
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "C:/Users/supriya.godge/PycharmProjects/TensorFlow/Tutorial1.py", line 2, in &lt;module&gt;
      import tensorflow as tf
    File "C:\Program Files\Python35\lib\site-packages\tensorflow\__init__.py", line 24, in &lt;module&gt;
      from tensorflow.python import *
    File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\__init__.py", line 49, in &lt;module&gt;
      from tensorflow.python import pywrap_tensorflow
    File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 52, in &lt;module&gt;
      raise ImportError(msg)
  ImportError: Traceback (most recent call last):
    File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
      return importlib.import_module(mname)
    File "C:\Program Files\Python35\lib\importlib\__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "&lt;frozen importlib._bootstrap&gt;", line 986, in _gcd_import
    File "&lt;frozen importlib._bootstrap&gt;", line 969, in _find_and_load
    File "&lt;frozen importlib._bootstrap&gt;", line 958, in _find_and_load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 666, in _load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 577, in module_from_spec
    File "&lt;frozen importlib._bootstrap_external&gt;", line 914, in create_module
    File "&lt;frozen importlib._bootstrap&gt;", line 222, in _call_with_frames_removed
  ImportError: DLL load failed: The specified module could not be found.
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 41, in &lt;module&gt;
      from tensorflow.python.pywrap_tensorflow_internal import *
    File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in &lt;module&gt;
      _pywrap_tensorflow_internal = swig_import_helper()
    File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
      return importlib.import_module('_pywrap_tensorflow_internal')
    File "C:\Program Files\Python35\lib\importlib\__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
  ImportError: No module named '_pywrap_tensorflow_internal'
  
  
  Failed to load the native TensorFlow runtime.
  
     </code></pre>
  </div>
  </div>
  </p>
  
  <p>I also followed the instruction provided in <a href="https://stackoverflow.com/a/43959499/8485184">https://stackoverflow.com/a/43959499/8485184</a> </p>