<p dir="auto">I just installed CUDA 9.2 and CUDANN and Tensor Flow on Windows 10.  I'm using Anaconda 3.6 Python.</p>
<p dir="auto">Here is a trace that I get when I try to import tensor flow.  It's telling me it can't load a dll but its is not telling me which one.  Can you help.</p>
<p dir="auto">Here is a directory listing of the CUDA dlls in my path and the trace.</p>
<p dir="auto">********************  Directory Listing ************************</p>
<p dir="auto">PS C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\bin&gt; dir</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Directory: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\bin"><pre class="notranslate"><code class="notranslate">Directory: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\bin
</code></pre></div>
<p dir="auto">Mode                LastWriteTime         Length Name</p>
<hr>
<p dir="auto">d-----         7/5/2018   8:32 PM                crt<br>
-a----        4/12/2018   1:20 AM         202752 bin2c.exe<br>
-a----        4/12/2018   1:21 AM       54600704 cublas64_92.dll<br>
-a----        4/12/2018   1:20 AM         370176 cuda-memcheck.exe<br>
-a----        4/12/2018   1:20 AM        4092416 cudafe++.exe<br>
-a----        4/12/2018   1:21 AM         299008 cudart32_92.dll<br>
-a----        4/12/2018   1:21 AM         368128 cudart64_90.dll<br>
-a----        4/12/2018   1:21 AM         368128 cudart64_92.dll<br>
-a----         7/5/2018  10:17 PM      336443392 cudnn64_7.dll<br>
-a----        4/12/2018   1:21 AM       87017472 cufft64_92.dll<br>
-a----        4/12/2018   1:21 AM         197632 cufftw64_92.dll<br>
-a----        4/12/2018   1:21 AM        3692032 cuinj32_92.dll<br>
-a----        4/12/2018   1:21 AM        4625408 cuinj64_92.dll<br>
-a----        4/12/2018   1:20 AM        1695744 cuobjdump.exe<br>
-a----        4/12/2018   1:21 AM       47990784 curand64_92.dll<br>
-a----        4/12/2018   1:21 AM      114172416 cusolver64_92.dll<br>
-a----        4/12/2018   1:21 AM       65776128 cusparse64_92.dll<br>
-a----        4/12/2018   1:20 AM         284672 fatbinary.exe<br>
-a----        4/12/2018   1:20 AM        1306112 gpu-library-advisor.exe<br>
-a----        4/12/2018   1:21 AM         203264 nppc64_92.dll<br>
-a----        4/12/2018   1:21 AM       10174464 nppial64_92.dll<br>
-a----        4/12/2018   1:21 AM        3985920 nppicc64_92.dll<br>
-a----        4/12/2018   1:21 AM        1010688 nppicom64_92.dll<br>
-a----        4/12/2018   1:21 AM        6928896 nppidei64_92.dll<br>
-a----        4/12/2018   1:21 AM       51902976 nppif64_92.dll<br>
-a----        4/12/2018   1:21 AM       25260032 nppig64_92.dll<br>
-a----        4/12/2018   1:21 AM        6574592 nppim64_92.dll<br>
-a----        4/12/2018   1:21 AM       15030272 nppist64_92.dll<br>
-a----        4/12/2018   1:21 AM         177152 nppisu64_92.dll<br>
-a----        4/12/2018   1:21 AM        2621440 nppitc64_92.dll<br>
-a----        4/12/2018   1:21 AM        <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/8543232720cf8231e5a214cf5fafd17c206584e6/hovercard" href="https://github.com/tensorflow/tensorflow/commit/8543232720cf8231e5a214cf5fafd17c206584e6"><tt>8543232</tt></a> npps64_92.dll<br>
-a----        4/12/2018   1:20 AM         241152 nvblas64_92.dll<br>
-a----        4/12/2018   1:20 AM         379904 nvcc.exe<br>
-a----        4/12/2018   1:20 AM            310 nvcc.profile<br>
-a----        4/12/2018   1:20 AM       18156032 nvdisasm.exe<br>
-a----        4/12/2018   1:21 AM       66096128 nvgraph64_92.dll<br>
-a----        4/12/2018   1:20 AM        7804928 nvlink.exe<br>
-a----        4/12/2018   1:20 AM        4115968 nvprof.exe<br>
-a----        4/12/2018   1:20 AM         220160 nvprune.exe<br>
-a----        4/12/2018   1:20 AM        3213312 nvrtc-builtins64_92.dll<br>
-a----        4/12/2018   1:20 AM       15532544 nvrtc64_92.dll<br>
-a----        4/12/2018   1:20 AM             53 nvvp.bat<br>
-a----        4/12/2018   1:20 AM        7686144 ptxas.exe</p>
<p dir="auto">********************  Python Output  ************************</p>
<p dir="auto">PS C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\bin&gt; python<br>
Python 3.6.0 |Anaconda 4.3.0 (64-bit)| (default, Dec 23 2016, 11:57:41) [MSC v.1900 64 bit (AMD64)] on win32<br>
Type "help", "copyright", "credits" or "license" for more information.</p>
<blockquote>
<blockquote>
<blockquote>
<p dir="auto">import tensorflow as tf<br>
Traceback (most recent call last):<br>
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <br>
from tensorflow.python.pywrap_tensorflow_internal import *<br>
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in <br>
<em>pywrap_tensorflow_internal = swig_import_helper()<br>
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in swig_import_helper<br>
return importlib.import_module(mname)<br>
File "C:\Program Files\Anaconda3\lib\importlib_<em>init</em></em>.py", line 126, in import_module<br>
return _bootstrap._gcd_import(name[level:], package, level)<br>
ImportError: DLL load failed: The specified module could not be found.</p>
</blockquote>
</blockquote>
</blockquote>
<p dir="auto">During handling of the above exception, another exception occurred:</p>
<p dir="auto">Traceback (most recent call last):<br>
File "", line 1, in <br>
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow_<em>init</em>_.py", line 24, in <br>
from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import<br>
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python_<em>init</em>_.py", line 49, in <br>
from tensorflow.python import pywrap_tensorflow<br>
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <br>
raise ImportError(msg)<br>
ImportError: Traceback (most recent call last):<br>
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <br>
from tensorflow.python.pywrap_tensorflow_internal import *<br>
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in <br>
<em>pywrap_tensorflow_internal = swig_import_helper()<br>
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in swig_import_helper<br>
return importlib.import_module(mname)<br>
File "C:\Program Files\Anaconda3\lib\importlib_<em>init</em></em>.py", line 126, in import_module<br>
return _bootstrap._gcd_import(name[level:], package, level)<br>
ImportError: DLL load failed: The specified module could not be found.</p>
<p dir="auto">Failed to load the native TensorFlow runtime.</p>
<p dir="auto">See <a href="https://www.tensorflow.org/install/install_sources#common_installation_problems" rel="nofollow">https://www.tensorflow.org/install/install_sources#common_installation_problems</a></p>
<p dir="auto">for some common reasons and solutions.  Include the entire stack trace<br>
above this error message when asking for help.</p>
<blockquote>
<blockquote>
<blockquote>
</blockquote>
</blockquote>
</blockquote>
<p dir="auto">As announced in release notes, TensorFlow release binaries version 1.6 and higher are prebuilt with AVX instruction sets. This means on any CPU that do not have these instruction sets either CPU or GPU version of TF will fail to load with any of the following errors:</p>
<ul dir="auto">
<li><code class="notranslate">ImportError: DLL load failed:</code></li>
<li>A crash with return code 132</li>
</ul>
<p dir="auto">Our recommendation is to build TF from sources on these systems.</p>
<h3 dir="auto">System information</h3>
<ul dir="auto">
<li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: No</li>
<li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: ubuntu/windows/macos</li>
<li><strong>TensorFlow installed from (source or binary)</strong>: binary</li>
<li><strong>TensorFlow version (use command below)</strong>: 1.6 and up</li>
<li><strong>Python version</strong>:  2.7, 3.3, 3.4, 3.5, 3.6 and any newer</li>
<li><strong>Bazel version (if compiling from source)</strong>: n/a</li>
<li><strong>GCC/Compiler version (if compiling from source)</strong>: n/a</li>
<li><strong>CUDA/cuDNN version</strong>: any</li>
<li><strong>GPU model and memory</strong>: any</li>
<li><strong>Exact command to reproduce</strong>: python -c "import tensorflow as tf"</li>
</ul>