Tensorflow just released windows support. I installed the gpu version and CUDA 8.0 and python 3.5. However, after I import the tensorflow I got the following error:
And you could check your Environmental variable in this way:
import os
print("Environmental variable:", os.environ["PATH"])
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;
My CUDA_path is "D:/CUDA/v8.0/bin", and I can not find my CUDA_path here. You will find your missing file here(such as "cublas64_80.dll", "cudnn64_5.dll", etc.) . The premise is that you had finish your CUDA installing.
If you can not find your CUDA_path in Environmental variable, you could add your CUDA_path manually: (The order of the following code is very important. Add the CUDA_path before import TensorFlow.)
import os
os.environ["PATH"] += ";D:/CUDA/v8.0/bin;"
import tensorflow as tf
Or you could add your CUDA_path in CMD temporarily:
set PATH=%PATH%;"D:/CUDA/v8.0/bin"
python3 tensorflow_model.py
It work on my laptop(Windows10, Python3.6, Tensorflow-gpu==1.5). I think this two ways are simple solutions.