<p dir="auto">Using TensorFlow backend.</p>
<hr>
<p dir="auto">ImportError                               Traceback (most recent call last)<br>
C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()<br>
17         try:<br>
---&gt; 18             return importlib.import_module(mname)<br>
19         except ImportError:</p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\importlib_<em>init</em>_.py in import_module(name, package)<br>
125             level += 1<br>
--&gt; 126     return _bootstrap._gcd_import(name[level:], package, level)<br>
127</p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\importlib_bootstrap.py in _gcd_import(name, package, level)</p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\importlib_bootstrap.py in <em>find_and_load(name, import</em>)</p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\importlib_bootstrap.py in <em>find_and_load_unlocked(name, import</em>)</p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\importlib_bootstrap.py in _load_unlocked(spec)</p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\importlib_bootstrap.py in module_from_spec(spec)</p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\importlib_bootstrap_external.py in create_module(self, spec)</p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\importlib_bootstrap.py in _call_with_frames_removed(f, *args, **kwds)</p>
<p dir="auto">ImportError: DLL load failed: No se puede encontrar el módulo especificado.</p>
<p dir="auto">During handling of the above exception, another exception occurred:</p>
<p dir="auto">ModuleNotFoundError                       Traceback (most recent call last)<br>
C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in ()<br>
57<br>
---&gt; 58   from tensorflow.python.pywrap_tensorflow_internal import *<br>
59   from tensorflow.python.pywrap_tensorflow_internal import <strong>version</strong></p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in ()<br>
20             return importlib.import_module('_pywrap_tensorflow_internal')<br>
---&gt; 21     _pywrap_tensorflow_internal = swig_import_helper()<br>
22     del swig_import_helper</p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()<br>
19         except ImportError:<br>
---&gt; 20             return importlib.import_module('_pywrap_tensorflow_internal')<br>
21     _pywrap_tensorflow_internal = swig_import_helper()</p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\importlib_<em>init</em>_.py in import_module(name, package)<br>
125             level += 1<br>
--&gt; 126     return _bootstrap._gcd_import(name[level:], package, level)<br>
127</p>
<p dir="auto">ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'</p>
<p dir="auto">During handling of the above exception, another exception occurred:</p>
<p dir="auto">ImportError                               Traceback (most recent call last)<br>
 in ()<br>
----&gt; 1 from keras.models import Sequential, Model<br>
2 from keras.layers import *<br>
3 from keras.layers.advanced_activations import LeakyReLU<br>
4 from keras.activations import relu<br>
5 from keras.initializers import RandomNormal</p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\site-packages\keras_<em>init</em>_.py in ()<br>
1 from <strong>future</strong> import absolute_import<br>
2<br>
----&gt; 3 from . import utils<br>
4 from . import activations<br>
5 from . import applications</p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\site-packages\keras\utils_<em>init</em>_.py in ()<br>
4 from . import data_utils<br>
5 from . import io_utils<br>
----&gt; 6 from . import conv_utils<br>
7<br>
8 # Globally-importable utils.</p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\site-packages\keras\utils\conv_utils.py in ()<br>
1 from six.moves import range<br>
2 import numpy as np<br>
----&gt; 3 from .. import backend as K<br>
4<br>
5</p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\site-packages\keras\backend_<em>init</em>_.py in ()<br>
81 elif _BACKEND == 'tensorflow':<br>
82     sys.stderr.write('Using TensorFlow backend.\n')<br>
---&gt; 83     from .tensorflow_backend import *<br>
84 else:<br>
85     raise ValueError('Unknown backend: ' + str(_BACKEND))</p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py in ()<br>
----&gt; 1 import tensorflow as tf<br>
2 from tensorflow.python.training import moving_averages<br>
3 from tensorflow.python.ops import tensor_array_ops<br>
4 from tensorflow.python.ops import control_flow_ops<br>
5 from tensorflow.python.ops import functional_ops</p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_<em>init</em>_.py in ()<br>
22<br>
23 # pylint: disable=wildcard-import<br>
---&gt; 24 from tensorflow.python import *<br>
25 # pylint: enable=wildcard-import<br>
26</p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python_<em>init</em>_.py in ()<br>
47 import numpy as np<br>
48<br>
---&gt; 49 from tensorflow.python import pywrap_tensorflow<br>
50<br>
51 # Protocol buffers</p>
<p dir="auto">C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in ()<br>
70 for some common reasons and solutions.  Include the entire stack trace<br>
71 above this error message when asking for help.""" % traceback.format_exc()<br>
---&gt; 72   raise ImportError(msg)<br>
73<br>
74 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long</p>
<p dir="auto">ImportError: Traceback (most recent call last):<br>
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper<br>
return importlib.import_module(mname)<br>
File "C:\ProgramData\Anaconda3\lib\importlib_<em>init</em>_.py", line 126, in import_module<br>
return _bootstrap._gcd_import(name[level:], package, level)<br>
File "", line 994, in _gcd_import<br>
File "", line 971, in _find_and_load<br>
File "", line 955, in _find_and_load_unlocked<br>
File "", line 658, in _load_unlocked<br>
File "", line 571, in module_from_spec<br>
File "", line 922, in create_module<br>
File "", line 219, in _call_with_frames_removed<br>
ImportError: DLL load failed: No se puede encontrar el módulo especificado.</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:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <br>
from tensorflow.python.pywrap_tensorflow_internal import *<br>
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <br>
_pywrap_tensorflow_internal = swig_import_helper()<br>
File "C:\ProgramData\Anaconda3\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:\ProgramData\Anaconda3\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">I'm in a anaconda environment.</p>
<p dir="auto"><strong>CONDA LIST:</strong></p>
<p dir="auto">(gan) C:\Users\ZeroCool22\faceswap-GAN&gt;conda list<br>
packages in environment at C:\ProgramData\Anaconda3\envs\gan:</p>
<p dir="auto">Name                    Version                   Build  Channel<br>
absl-py                   0.1.10                    <br>
backports                 1.0              py36h81696a8_1<br>
backports.weakref         1.0rc1                   py36_0<br>
bleach                    1.5.0                    py36_0    conda-forge<br>
boost                     1.64.0              py36_vc14_4  [vc14]  conda-forge<br>
boost-cpp                 1.64.0                   vc14_1  [vc14]  conda-forge<br>
bzip2                     1.0.6                    vc14_1  [vc14]  conda-forge<br>
ca-certificates           2017.08.26           h94faf87_0<br>
certifi                   2018.1.18                py36_0<br>
click                     6.7                       <br>
cudatoolkit               8.0                           3    anaconda<br>
cudnn                     6.0                           0    anaconda<br>
decorator                 4.0.11                   py36_0    conda-forge<br>
dlib                      19.4              np112py36_201    conda-forge<br>
dlib                      19.9.0                    <br>
face-recognition          1.2.1                     <br>
face-recognition-models   0.3.0                     <br>
ffmpeg                    3.4.1                         1    conda-forge<br>
freetype                  2.8.1                    vc14_0  [vc14]  conda-forge<br>
h5py                      2.7.1                    py36_2    conda-forge<br>
hdf5                      1.10.1                   vc14_1  [vc14]  conda-forge<br>
html5lib                  0.9999999                py36_0    conda-forge<br>
icc_rt                    2017.0.4             h97af966_0<br>
icu                       58.2                     vc14_0  [vc14]  conda-forge<br>
imageio                   2.1.2                    py36_0    conda-forge<br>
intel-openmp              2018.0.0             hd92c6cd_8<br>
jpeg                      9b                       vc14_2  [vc14]  conda-forge<br>
keras                     2.0.9                    py36_0    conda-forge<br>
libgpuarray               0.7.5                    vc14_0  [vc14]  conda-forge<br>
libiconv                  1.14                     vc14_4  [vc14]  conda-forge<br>
libpng                    1.6.34                   vc14_0  [vc14]  conda-forge<br>
libtiff                   4.0.9                    vc14_0  [vc14]  conda-forge<br>
libwebp                   0.5.2                    vc14_7  [vc14]  conda-forge<br>
libxml2                   2.9.3                    vc14_9  [vc14]  conda-forge<br>
mako                      1.0.7                    py36_0    conda-forge<br>
Markdown                  2.6.11                    <br>
markdown                  2.6.9                    py36_0    conda-forge<br>
markupsafe                1.0                      py36_0    conda-forge<br>
mkl                       2018.0.1             h2108138_4<br>
moviepy                   0.2.3.2                  py36_0    conda-forge<br>
numpy                     1.14.0                    <br>
numpy                     1.12.1           py36hf30b8aa_1    anaconda<br>
olefile                   0.44                     py36_0    conda-forge<br>
opencv                    3.3.0                  py36_200    conda-forge<br>
openssl                   1.0.2n               h74b6da3_0<br>
pillow                    5.0.0                    py36_0    conda-forge<br>
pip                       9.0.1                    py36_1    conda-forge<br>
protobuf                  3.5.1               py36_vc14_3  [vc14]  conda-forge<br>
protobuf                  3.5.1                     <br>
pygpu                     0.7.5                    py36_0    conda-forge<br>
python                    3.6.4                         0    conda-forge<br>
pyyaml                    3.12                     py36_1    conda-forge<br>
qt                        5.6.2                    vc14_1  [vc14]  conda-forge<br>
scipy                     1.0.0            py36h1260518_0<br>
setuptools                38.5.1                    <br>
setuptools                38.4.0                   py36_0    conda-forge<br>
six                       1.11.0                   py36_1    conda-forge<br>
six                       1.11.0                    <br>
sqlite                    3.20.1                   vc14_2  [vc14]  conda-forge<br>
tensorboard               0.4.0rc3                 py36_2    conda-forge<br>
tensorflow-gpu            1.3.0                     <br>
tensorflow-tensorboard    0.1.8                     <br>
theano                    1.0.1                    py36_1    conda-forge<br>
tk                        8.6.7                    vc14_0  [vc14]  conda-forge<br>
tqdm                      4.11.2                   py36_0    conda-forge<br>
vc                        14                            0    conda-forge<br>
vs2015_runtime            14.0.25420                    0    conda-forge<br>
webencodings              0.5                      py36_0    conda-forge<br>
werkzeug                  0.14.1                     py_0    conda-forge<br>
Werkzeug                  0.14.1                    <br>
wheel                     0.30.0                    <br>
wheel                     0.30.0                   py36_2    conda-forge<br>
wincertstore              0.2                      py36_0    conda-forge<br>
yaml                      0.1.7                    vc14_0  [vc14]  conda-forge<br>
zlib                      1.2.11                   vc14_0  [vc14]  conda-forge</p>
<h2 dir="auto">(gan) C:\Users\ZeroCool22\faceswap-GAN&gt;</h2>
<p dir="auto"><strong>tensorflow_self_check.py results:</strong></p>
<p dir="auto">(gan) C:\Users\ZeroCool22\Desktop\Nueva carpeta (3)&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:\ProgramData\Anaconda3\envs\gan\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></p>
</li>
</ul>
<p dir="auto"><strong>OS: Windows 10<br>
GPU: 1080TI<br>
CPU: 7700K<br>
RAM: 32gb</strong></p>
<h3 dir="auto">System information</h3>
<ul dir="auto">
<li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: No, problem appears on import (import tensorflow as tf).</li>
<li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: Windows 10 x64</li>
<li><strong>TensorFlow installed from (source or binary)</strong>: binary (pip --no-cache-dir) install --upgrade tensorflow</li>
<li><strong>TensorFlow version (use command below)</strong>: 1.6.0 (install says tensorflow-1.6.0-cp36-cp36m-win_amd64.whl)</li>
<li><strong>Python version</strong>: 3.6.4 x64</li>
<li><strong>Bazel version (if compiling from source)</strong>: n/a</li>
<li><strong>GCC/Compiler version (if compiling from source)</strong>: n/a</li>
<li><strong>CUDA/cuDNN version</strong>: n/a</li>
<li><strong>GPU model and memory</strong>: n/a</li>
<li><strong>Exact command to reproduce</strong>: import tensorflow as tf</li>
</ul>
<p dir="auto">You can collect some of this information using our environment capture script:</p>
<p dir="auto"><a href="https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh">https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh</a></p>
<p dir="auto">You can obtain the TensorFlow version with</p>
<p dir="auto">python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"</p>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">When installing tensorflow 1.6.0 the import reports problems. See log below. Tried uninstalled r1.6 and reinstalled 1.5.0 to see if something else might be the problem. 1.5.0 works like a charm. Tried a clean install of 1.6.0 without any luck.</p>
<p dir="auto">Ran the 'tensorflow_self_check.py' script. See log below.</p>
<h3 dir="auto">Source code / logs</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win32
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
&gt;&gt;&gt; import tensorflow as tf
Traceback (most recent call last):
  File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py&quot;, line 18, in swig_import_helper
    return importlib.import_module(mname)
  File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py&quot;, line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 994, in _gcd_import
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 971, in _find_and_load
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 955, in _find_and_load_unlocked
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 658, in _load_unlocked
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 571, in module_from_spec
  File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 922, in create_module
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 219, in _call_with_frames_removed
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py&quot;, line 58, in &lt;module&gt;
    from tensorflow.python.pywrap_tensorflow_internal import *
  File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py&quot;, line 21, in &lt;module&gt;
    _pywrap_tensorflow_internal = swig_import_helper()
  File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py&quot;, line 20, in swig_import_helper
    return importlib.import_module('_pywrap_tensorflow_internal')
  File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py&quot;, line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py&quot;, line 24, in &lt;module&gt;
    from tensorflow.python import *
  File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py&quot;, line 49, in &lt;module&gt;
    from tensorflow.python import pywrap_tensorflow
  File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py&quot;, line 74, in &lt;module&gt;
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py&quot;, line 18, in swig_import_helper
    return importlib.import_module(mname)
  File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py&quot;, line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 994, in _gcd_import
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 971, in _find_and_load
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 955, in _find_and_load_unlocked
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 658, in _load_unlocked
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 571, in module_from_spec
  File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 922, in create_module
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 219, in _call_with_frames_removed
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py&quot;, line 58, in &lt;module&gt;
    from tensorflow.python.pywrap_tensorflow_internal import *
  File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py&quot;, line 21, in &lt;module&gt;
    _pywrap_tensorflow_internal = swig_import_helper()
  File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py&quot;, line 20, in swig_import_helper
    return importlib.import_module('_pywrap_tensorflow_internal')
  File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py&quot;, line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'


Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/install_sources#common_installation_problems

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



------------------------

When running 'tensorflow_self_check.py' this is what is reported. Supposed to have installed the CPU version so cuda is not installed.

ERROR: Failed to import the TensorFlow module.

- Python version is 3.6.

- TensorFlow is installed at: C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow

- Could not load 'cudart64_80.dll'. The GPU version of TensorFlow
  requires that this DLL be installed in a directory that is named in
  your %PATH% environment variable. Download and install CUDA 8.0 from
  this URL: https://developer.nvidia.com/cuda-toolkit

- Could not load 'cudnn64_5.dll'. The GPU version of TensorFlow
  requires that this DLL be installed in a directory that is named in
  your %PATH% environment variable. Note that installing cuDNN is a
  separate step from installing CUDA, and it is often found in a
  different directory from the CUDA DLLs. You may install the
  necessary DLL by downloading cuDNN 5.1 from this URL:
  https://developer.nvidia.com/cudnn

- Could not find cuDNN."><pre class="notranslate"><code class="notranslate">Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
&gt;&gt;&gt; import tensorflow as tf
Traceback (most recent call last):
  File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
    return importlib.import_module(mname)
  File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "&lt;frozen importlib._bootstrap&gt;", line 994, in _gcd_import
  File "&lt;frozen importlib._bootstrap&gt;", line 971, in _find_and_load
  File "&lt;frozen importlib._bootstrap&gt;", line 955, in _find_and_load_unlocked
  File "&lt;frozen importlib._bootstrap&gt;", line 658, in _load_unlocked
  File "&lt;frozen importlib._bootstrap&gt;", line 571, in module_from_spec
  File "&lt;frozen importlib._bootstrap_external&gt;", line 922, in create_module
  File "&lt;frozen importlib._bootstrap&gt;", line 219, in _call_with_frames_removed
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in &lt;module&gt;
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in &lt;module&gt;
    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
    return importlib.import_module('_pywrap_tensorflow_internal')
  File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py", line 24, in &lt;module&gt;
    from tensorflow.python import *
  File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py", line 49, in &lt;module&gt;
    from tensorflow.python import pywrap_tensorflow
  File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in &lt;module&gt;
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
    return importlib.import_module(mname)
  File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "&lt;frozen importlib._bootstrap&gt;", line 994, in _gcd_import
  File "&lt;frozen importlib._bootstrap&gt;", line 971, in _find_and_load
  File "&lt;frozen importlib._bootstrap&gt;", line 955, in _find_and_load_unlocked
  File "&lt;frozen importlib._bootstrap&gt;", line 658, in _load_unlocked
  File "&lt;frozen importlib._bootstrap&gt;", line 571, in module_from_spec
  File "&lt;frozen importlib._bootstrap_external&gt;", line 922, in create_module
  File "&lt;frozen importlib._bootstrap&gt;", line 219, in _call_with_frames_removed
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in &lt;module&gt;
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in &lt;module&gt;
    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
    return importlib.import_module('_pywrap_tensorflow_internal')
  File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'


Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/install_sources#common_installation_problems

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



------------------------

When running 'tensorflow_self_check.py' this is what is reported. Supposed to have installed the CPU version so cuda is not installed.

ERROR: Failed to import the TensorFlow module.

- Python version is 3.6.

- TensorFlow is installed at: C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow

- Could not load 'cudart64_80.dll'. The GPU version of TensorFlow
  requires that this DLL be installed in a directory that is named in
  your %PATH% environment variable. Download and install CUDA 8.0 from
  this URL: https://developer.nvidia.com/cuda-toolkit

- Could not load 'cudnn64_5.dll'. The GPU version of TensorFlow
  requires that this DLL be installed in a directory that is named in
  your %PATH% environment variable. Note that installing cuDNN is a
  separate step from installing CUDA, and it is often found in a
  different directory from the CUDA DLLs. You may install the
  necessary DLL by downloading cuDNN 5.1 from this URL:
  https://developer.nvidia.com/cudnn

- Could not find cuDNN.
</code></pre></div>