title: import tensorflow error - return importlib.import_module(mname)
body: <p>so, I've installed the GPU version of Tensorflow, CUDA and cuDNN. I believe I have set all this up correctly but when I run 'import tensorflow as tf' I get this error: </p>
  
  <pre><code>&gt;&gt;&gt; import tensorflow as tf
  Traceback (most recent call last):
    File "C:\Users\John\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
      return importlib.import_module(mname)
    File "C:\Users\John\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "&lt;frozen importlib._bootstrap&gt;", line 978, in _gcd_import
    File "&lt;frozen importlib._bootstrap&gt;", line 961, in _find_and_load
    File "&lt;frozen importlib._bootstrap&gt;", line 950, in _find_and_load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 648, in _load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 560, in module_from_spec
    File "&lt;frozen importlib._bootstrap_external&gt;", line 922, in create_module
    File "&lt;frozen importlib._bootstrap&gt;", line 205, 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:\Users\John\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 41, in &lt;module&gt;
      from tensorflow.python.pywrap_tensorflow_internal import *
    File "C:\Users\John\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in &lt;module&gt;
      _pywrap_tensorflow_internal = swig_import_helper()
    File "C:\Users\John\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
      return importlib.import_module('_pywrap_tensorflow_internal')
    File "C:\Users\John\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
  ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "C:\Users\John\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py", line 24, in &lt;module&gt;
      from tensorflow.python import *
    File "C:\Users\John\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py", line 49, in &lt;module&gt;
      from tensorflow.python import pywrap_tensorflow
    File "C:\Users\John\AppData\Local\Programs\Python\Python36\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:\Users\John\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
      return importlib.import_module(mname)
    File "C:\Users\John\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "&lt;frozen importlib._bootstrap&gt;", line 978, in _gcd_import
    File "&lt;frozen importlib._bootstrap&gt;", line 961, in _find_and_load
    File "&lt;frozen importlib._bootstrap&gt;", line 950, in _find_and_load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 648, in _load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 560, in module_from_spec
    File "&lt;frozen importlib._bootstrap_external&gt;", line 922, in create_module
    File "&lt;frozen importlib._bootstrap&gt;", line 205, 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:\Users\John\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 41, in &lt;module&gt;
      from tensorflow.python.pywrap_tensorflow_internal import *
    File "C:\Users\John\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in &lt;module&gt;
      _pywrap_tensorflow_internal = swig_import_helper()
    File "C:\Users\John\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
      return importlib.import_module('_pywrap_tensorflow_internal')
    File "C:\Users\John\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
  ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
  
  
  Failed to load the native TensorFlow runtime.
  </code></pre>
  
  <p>I have tried these steps with no luck. 
  <a href="https://stackoverflow.com/questions/42011070/on-windows-running-import-tensorflow-generates-no-module-named-pywrap-tenso">On Windows, running &quot;import tensorflow&quot; generates No module named &quot;_pywrap_tensorflow&quot; error</a></p>
  
  <p>Any help would be appreciated - I'm new to both Python and to Tensorflow.
  John</p>
  
  <p>edit: I found a tensorflow self checker and ran it which gives me the following error:
  <a href="https://www.screencast.com/t/cTx8oETtuTe" rel="nofollow noreferrer">https://www.screencast.com/t/cTx8oETtuTe</a>
  Going to try reinstalling cuDNN now. </p>