[Solved] tensorflow-gpu on Windows: No module named ‘_pywrap_tensorflow_internal’

I am trying to install Tensorflow with GPU support on Windows 10 according to the following guide:

However, I got the following error when I import tensorflow in Conda Python 3.5.2:

How I fix this dll-not-found error? ‘pip install tensorflow-gpu’ did not give any errors.

File “”, line 666, in _load_unlocked
File “”, line 577, in module_from_spec
File “”, line 906, in create_module
File “”, line 222, in _call_with_frames_removed
ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “”, line 41,
in from tensorflow.python.pywrap_tensorflow_internal import *
File “”, line 21, in _pywrap_tensorflow_internal = swig_import_helper() File “”,
line 20, in swig_import_helper
return importlib.import_module(‘_pywrap_tensorflow_internal’)
File “”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: No module named ‘_pywrap_tensorflow_internal’

Failed to load the native
TensorFlow runtime.

for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.

Solution #1:

Tensorflow installation with pip did not give any errors, but I fixed my problem by installing CuDNN V6 instead of CuDNN V5.1. It appears that tensorflow V1.3.0 now uses CuDNN V6.

Respondent: monatis
Solution #2:

You have the option of installing Tensorflow with native pip on windows.

You may use the python script ( to check the problems during the installation.

Respondent: Maosi Chen
The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .

Most Popular

To Top
India and Pakistan’s steroid-soaked rhetoric over Kashmir will come back to haunt them both clenbuterol australia bossier man pleads guilty for leadership role in anabolic steriod distribution conspiracy