<p dir="auto">I am installing tensorflow on window machine with the help of Python (version python-3.5.4-amd64).</p>
<p dir="auto">Command use to install tensorflow  :- pip3 install --upgrade tensorflow</p>
<p dir="auto">Bellow error getting in Import tensorflow command.</p>
<p dir="auto">Traceback (most recent call last):<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper<br>
return importlib.import_module(mname)<br>
File "C:\Program Files\Python35\lib\importlib_<em>init</em>_.py", line 126, in import_module<br>
return _bootstrap._gcd_import(name[level:], package, level)<br>
File "", line 985, in _gcd_import<br>
File "", line 968, in _find_and_load<br>
File "", line 957, in _find_and_load_unlocked<br>
File "", line 666, in _load_unlocked<br>
File "", line 577, in module_from_spec<br>
File "", line 938, in create_module<br>
File "", line 222, in _call_with_frames_removed<br>
ImportError: DLL load failed: The specified module could not be found.</p>
<p dir="auto">During handling of the above exception, another exception occurred:</p>
<p dir="auto">Traceback (most recent call last):<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 41, in <br>
from tensorflow.python.pywrap_tensorflow_internal import *<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <br>
_pywrap_tensorflow_internal = swig_import_helper()<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper<br>
return importlib.import_module('<em>pywrap_tensorflow_internal')<br>
File "C:\Program Files\Python35\lib\importlib_<em>init</em></em>.py", line 126, in import_module<br>
return _bootstrap._gcd_import(name[level:], package, level)<br>
ImportError: No module named '_pywrap_tensorflow_internal'</p>
<p dir="auto">During handling of the above exception, another exception occurred:</p>
<p dir="auto">Traceback (most recent call last):<br>
File "D:\eclipse\WorkspavePython\study\test.py", line 1, in <br>
import tensorflow as tf<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow_<em>init</em>_.py", line 24, in <br>
from tensorflow.python import *<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python_<em>init</em>_.py", line 49, in <br>
from tensorflow.python import pywrap_tensorflow<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 52, in <br>
raise ImportError(msg)<br>
ImportError: Traceback (most recent call last):<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper<br>
return importlib.import_module(mname)<br>
File "C:\Program Files\Python35\lib\importlib_<em>init</em>_.py", line 126, in import_module<br>
return _bootstrap._gcd_import(name[level:], package, level)<br>
File "", line 985, in _gcd_import<br>
File "", line 968, in _find_and_load<br>
File "", line 957, in _find_and_load_unlocked<br>
File "", line 666, in _load_unlocked<br>
File "", line 577, in module_from_spec<br>
File "", line 938, in create_module<br>
File "", line 222, in _call_with_frames_removed<br>
ImportError: DLL load failed: The specified module could not be found.</p>
<p dir="auto">During handling of the above exception, another exception occurred:</p>
<p dir="auto">Traceback (most recent call last):<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 41, in <br>
from tensorflow.python.pywrap_tensorflow_internal import *<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <br>
_pywrap_tensorflow_internal = swig_import_helper()<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper<br>
return importlib.import_module('<em>pywrap_tensorflow_internal')<br>
File "C:\Program Files\Python35\lib\importlib_<em>init</em></em>.py", line 126, in import_module<br>
return _bootstrap._gcd_import(name[level:], package, level)<br>
ImportError: No module named '_pywrap_tensorflow_internal'</p>
<p dir="auto">Failed to load the native TensorFlow runtime.</p>
<p dir="auto">See <a href="https://www.tensorflow.org/install/install_sources#common_installation_problems" rel="nofollow">https://www.tensorflow.org/install/install_sources#common_installation_problems</a></p>
<p dir="auto">for some common reasons and solutions.  Include the entire stack trace<br>
above this error message when asking for help.</p>
<p dir="auto">Hi - Thanks for all your hard work on this! - I've been having a problem getting Tensorflow-GPU to work on my Windows 10 notebook with a GTX 1080. I've tried to make sure all the paths are correct, etc. and have followed all the tips I can find.</p>
<p dir="auto">I ran the tensorflow_self_check.py script and got the following result:</p>
<p dir="auto">PS D:\Users\Frank Davidson\Documents\python&gt; python .\tensorflow_self_check.py<br>
ERROR: Failed to import the TensorFlow module.</p>
<ul dir="auto">
<li>
<p dir="auto">Python version is 3.6.</p>
</li>
<li>
<p dir="auto">TensorFlow is installed at: C:\Program Files\Python36\lib\site-packages\tensorflow</p>
</li>
<li>
<p dir="auto">All required DLLs appear to be present. Please open an issue on the<br>
TensorFlow GitHub page: <a href="https://github.com/tensorflow/tensorflow/issues">https://github.com/tensorflow/tensorflow/issues</a><br>
PS D:\Users\Frank Davidson\Documents\python&gt;</p>
</li>
</ul>
<p dir="auto">Here is the full stack trace when I try to import tensorflow:</p>
<p dir="auto">PS C:\Users\Frank Davidson&gt; python<br>
Python 3.6.2 (v3.6.2:5fd33b5, Jul  8 2017, 04:57:36) [MSC v.1900 64 bit (AMD64)] on win32<br>
Type "help", "copyright", "credits" or "license" for more information.</p>
<blockquote>
<blockquote>
<blockquote>
<p dir="auto">import tensorflow as tf<br>
Traceback (most recent call last):<br>
File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_i<br>
mport_helper<br>
return importlib.import_module(mname)<br>
File "C:\Program Files\Python36\lib\importlib_<em>init</em>_.py", line 126, in import_module<br>
return _bootstrap._gcd_import(name[level:], package, level)<br>
File "", line 978, in _gcd_import<br>
File "", line 961, in _find_and_load<br>
File "", line 950, in _find_and_load_unlocked<br>
File "", line 648, in _load_unlocked<br>
File "", line 560, in module_from_spec<br>
File "", line 922, in create_module<br>
File "", line 205, in _call_with_frames_removed<br>
ImportError: DLL load failed: The specified module could not be found.</p>
</blockquote>
</blockquote>
</blockquote>
<p dir="auto">During handling of the above exception, another exception occurred:</p>
<p dir="auto">Traceback (most recent call last):<br>
File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 41, in <br>
from tensorflow.python.pywrap_tensorflow_internal import *<br>
File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <br>
_pywrap_tensorflow_internal = swig_import_helper()<br>
File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_i<br>
mport_helper<br>
return importlib.import_module('<em>pywrap_tensorflow_internal')<br>
File "C:\Program Files\Python36\lib\importlib_<em>init</em></em>.py", line 126, in import_module<br>
return _bootstrap._gcd_import(name[level:], package, level)<br>
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'</p>
<p dir="auto">During handling of the above exception, another exception occurred:</p>
<p dir="auto">Traceback (most recent call last):<br>
File "", line 1, in <br>
File "C:\Program Files\Python36\lib\site-packages\tensorflow_<em>init</em>_.py", line 24, in <br>
from tensorflow.python import *<br>
File "C:\Program Files\Python36\lib\site-packages\tensorflow\python_<em>init</em>_.py", line 49, in <br>
from tensorflow.python import pywrap_tensorflow<br>
File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 52, in <br>
raise ImportError(msg)<br>
ImportError: Traceback (most recent call last):<br>
File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_i<br>
mport_helper<br>
return importlib.import_module(mname)<br>
File "C:\Program Files\Python36\lib\importlib_<em>init</em>_.py", line 126, in import_module<br>
return _bootstrap._gcd_import(name[level:], package, level)<br>
File "", line 978, in _gcd_import<br>
File "", line 961, in _find_and_load<br>
File "", line 950, in _find_and_load_unlocked<br>
File "", line 648, in _load_unlocked<br>
File "", line 560, in module_from_spec<br>
File "", line 922, in create_module<br>
File "", line 205, in _call_with_frames_removed<br>
ImportError: DLL load failed: The specified module could not be found.</p>
<p dir="auto">During handling of the above exception, another exception occurred:</p>
<p dir="auto">Traceback (most recent call last):<br>
File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 41, in <br>
from tensorflow.python.pywrap_tensorflow_internal import *<br>
File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <br>
_pywrap_tensorflow_internal = swig_import_helper()<br>
File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_i<br>
mport_helper<br>
return importlib.import_module('<em>pywrap_tensorflow_internal')<br>
File "C:\Program Files\Python36\lib\importlib_<em>init</em></em>.py", line 126, in import_module<br>
return _bootstrap._gcd_import(name[level:], package, level)<br>
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'</p>
<p dir="auto">Failed to load the native TensorFlow runtime.</p>
<p dir="auto">See <a href="https://www.tensorflow.org/install/install_sources#common_installation_problems" rel="nofollow">https://www.tensorflow.org/install/install_sources#common_installation_problems</a></p>
<p dir="auto">for some common reasons and solutions.  Include the entire stack trace<br>
above this error message when asking for help.</p>
<p dir="auto">Any help is greatly appreciated!</p>
<p dir="auto">Frank</p>