Theano import error when used with GPU
<p>I have Anaconda Python 2.7.12 installed with numpy 1.11.2 and scipy 0.18.1 versions. I have installed Theano 0.8.2 through conda install. I have added these lines in the .theanorc.txt file:</p>

<pre><code>[global]
floatX = float32 
device = gpu0

[nvcc]
compiler_bindir=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin`
</code></pre>

<p>I have the CUDA Path set in the environment variables. I have also added CUDNN v4.0 to the cuda installation.</p>

<p>However when I do a simple</p>

<pre><code>import theano
</code></pre>

<p>in the python interpreter it gives me the following error and falls back to cpu.</p>

<pre><code>`DEBUG: nvcc STDOUT nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
mod.cu
Creating library C:/Users/&lt;USER_NAME&gt;/AppData/Local/Theano/compiledir_Windows-10-10.0.14393-Intel64_Family_6_Model_94_Stepping_3_GenuineIntel-2.7.12-64/cuda_ndarray/cuda_ndarray.lib and object C:/Users/&lt;USER_NAME&gt;/AppData/Local/Theano/compiledir_Windows-10-10.0.14393-Intel64_Family_6_Model_94_Stepping_3_GenuineIntel-2.7.12-64/cuda_ndarray/cuda_ndarray.exp

ERROR (theano.sandbox.cuda): Failed to compile cuda_ndarray.cu: DLL load failed: The specified module could not be found.
WARNING (theano.sandbox.cuda): CUDA is installed, but device gpu0 is not available (error: cuda unavailable)`
</code></pre>

<p>The error does not specify which DLL is missing either. I am not sure if this is a bug or a theano installation/config issue or a CUDA installation/config issue.</p>

<p>Thanks</p>