Yy Siu
Yy Siu

Reputation: 21

Tensorflow import error (Windows10) (python3.5.3) (tensorflow-gpu #243 nightly binary)

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.


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!

Upvotes: 2

Views: 1488

Answers (1)

Prince Patel
Prince Patel

Reputation: 302

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.

Upvotes: 1

Related Questions