2
votes

Environment:

Windows10

Python 3.5.3 64bit

CUDA Toolkit 8.0

cuDNN v5.1(extracted to Toolkit8.0 files)

Visual Studio Community 2015

Nightly binary#243 Tensorflow GPU version (pip install tensorflow_gpu-1.2.1-cp35-cp35m-win_amd64.whl)


The package has not been installed correctly, and the file _pywrap_tensorflow.pyd is not present in the C:\...\Lib\site-packages\tensorflow\python

After I got nearly the same error as #5949, I tried mrry's tensorflow_self_check.py.

The output is:

ERROR: Failed to import the TensorFlow module.

  • Python version is 3.5.

  • TensorFlow is installed at: C:\Python\Python35\lib\site-packages\tensorflow

  • All required DLLs are present. Please open an issue on the TensorFlow GitHub page: github.com/tensorflow/tensorflow/issues


However, I can import the tensorflow successfully if I use the below version:

pip install --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-0.12.0-cp35-cp35m-win_amd64.whl

So, what's wrong the tensorflow_gpu-1.2.1 version?

I really hope someone can help me solve it completely. Thank you!

1
Are you using an environment manager? If so can you try in a fresh environment pip install tensorflow-gpu please. - JCooke

1 Answers

1
votes

I would suggest to use Anaconda for the windows, if you want to try tensorflow. The number of issues is very less.

https://www.tensorflow.org/install/install_windows

But if you really want to work without anaconda.

Do let me know about after trying above steps.