title: Tensorflow GPU installation Error Windows 10 Anaconda
body: <p>I am having a tough time trying to setup Tensorflow for GPU use. I am no Windows 10, have already downloaded CUDA® Toolkit 8.0, cuDNN v5.1. and uninstalled Visual C++ 2015 redistributable and reinstalled as suggested by <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> but this did not have any effect. I am also not really sure about the PATH or if everything is included correctly there. Here is the error I keep getting (sorry it is not properly quoted but I kept getting formatting errors):</p>
  
  <blockquote>
    <p>Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation.
    All rights reserved.</p>
    
    <p>C:\Users\Austin>activate test_env</p>
    
    <p>(test_env) C:\Users\Austin>python</p>
    
    <p>Python 3.5.3 | packaged by
    conda-forge | (default, Feb  9 2017, 15:12:38) [MSC v.1900 64 bit
    (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for
    more information.</p>
    
    <p>>>> import tensorflow as tf</p>
    
    <p>Traceback (most recent call last): File
    "C:\Anaconda3\envs\test_env\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py",
    line 18, in swig_import_helper return importlib.import_module(mname)
    File "C:\Anaconda3\envs\test_env\lib\importlib__init__.py", line 126,
    in import_module return _bootstrap._gcd_import(name[level:], package,
    level) File "", line 986, in _gcd_import
    File "", line 969, in _find_and_load File
    "", line 958, in _find_and_load_unlocked
    File "", line 666, in _load_unlocked File
    "", line 577, in module_from_spec File
    "", line 914, in create_module
    File "", line 222, in
    _call_with_frames_removed ImportError: DLL load failed: The specified module could not be found.</p>
    
    <p>During handling of the above exception, another exception occurred:</p>
    
    <p>Traceback (most recent call last): File
    "C:\Anaconda3\envs\test_env\lib\site-packages\tensorflow\python\pywrap_tensorflow.py",
    line 41, in  from tensorflow.python.pywrap_tensorflow_internal
    import * File
    "C:\Anaconda3\envs\test_env\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py",
    line 21, in 
    _pywrap_tensorflow_internal = swig_import_helper() File "C:\Anaconda3\envs\test_env\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py",
    line 20, in swig_import_helper return
    importlib.import_module('_pywrap_tensorflow_internal') File
    "C:\Anaconda3\envs\test_env\lib\importlib__init__.py", line 126, in
    import_module return _bootstrap._gcd_import(name[level:], package,
    level) ImportError: No module named '_pywrap_tensorflow_internal'</p>
    
    <p>During handling of the above exception, another exception occurred:</p>
    
    <p>Traceback (most recent call last): File "", line 1, in 
    File
    "C:\Anaconda3\envs\test_env\lib\site-packages\tensorflow__init__.py",
    line 24, in  from tensorflow.python import * File
    "C:\Anaconda3\envs\test_env\lib\site-packages\tensorflow\python__init__.py",
    line 51, in  from tensorflow.python import pywrap_tensorflow
    File
    "C:\Anaconda3\envs\test_env\lib\site-packages\tensorflow\python\pywrap_tensorflow.py",
    line 52, in  raise ImportError(msg) ImportError: Traceback
    (most recent call last): File
    "C:\Anaconda3\envs\test_env\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py",
    line 18, in swig_import_helper return importlib.import_module(mname)
    File "C:\Anaconda3\envs\test_env\lib\importlib__init__.py", line 126,
    in import_module return _bootstrap._gcd_import(name[level:], package,
    level) File "", line 986, in _gcd_import
    File "", line 969, in _find_and_load File
    "", line 958, in _find_and_load_unlocked
    File "", line 666, in _load_unlocked File
    "", line 577, in module_from_spec File
    "", line 914, in create_module
    File "", line 222, in
    _call_with_frames_removed ImportError: DLL load failed: The specified module could not be found.</p>
    
    <p>During handling of the above exception, another exception occurred:</p>
    
    <p>Traceback (most recent call last): File
    "C:\Anaconda3\envs\test_env\lib\site-packages\tensorflow\python\pywrap_tensorflow.py",
    line 41, in  from tensorflow.python.pywrap_tensorflow_internal
    import * File
    "C:\Anaconda3\envs\test_env\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py",
    line 21, in 
    _pywrap_tensorflow_internal = swig_import_helper() File "C:\Anaconda3\envs\test_env\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py",
    line 20, in swig_import_helper return
    importlib.import_module('_pywrap_tensorflow_internal') File
    "C:\Anaconda3\envs\test_env\lib\importlib__init__.py", line 126, in
    import_module return _bootstrap._gcd_import(name[level:], package,
    level) ImportError: No module named '_pywrap_tensorflow_internal'</p>
    
    <p>Failed to load the native TensorFlow runtime.</p>
    
    <p>See
    <a href="https://www.tensorflow.org/install/install_sources#common_installation_problems" rel="nofollow noreferrer">https://www.tensorflow.org/install/install_sources#common_installation_problems</a></p>
    
    <p>for some common reasons and solutions.  Include the entire stack trace
    above this error message when asking for help.</p>
    
    <p>>>></p>
  </blockquote>
  
  <hr>
  
  <p>And here is what I get for my PATH (I think this is the problem, but I really don't know enough about what the PATH even is...)</p>
  
  <blockquote>
    <p>(test_env) C:\Users\Austin>PATH
    PATH=C:\Anaconda3\envs\test_env;C:\Anaconda3\envs\test_env\Library\mingw-w64\bin;C:\Anaconda3\envs\test_env\Library\usr\bin;C:\Anaconda3\envs\test_env\Library\bin;C:\Anaconda3\envs\test_env\Scripts;C:\Program
    Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin;C:\Program
    Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\libnvvp;C:\Program Files
    (x86)\Tesseract-OCR;C:\Anaconda3;C:\Anaconda3\Scripts;C:\Program
    Files\NVIDIA GPU Computing
    Toolkit\cudnn-8.0-windows10-x64-v5.1\cuda;C:\Program Files\Common
    Files\microsoft
    shared\ClickToRun;C:\Users\Austin\AppData\Local\Microsoft\WindowsApps;C:\Users\Austin\AppData\Local\atom\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;</p>
    
    <p>(test_env) C:\Users\Austin></p>
  </blockquote>