<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</li>
<li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: Mac 10.13.4</li>
<li><strong>TensorFlow installed from (source or binary)</strong>: binary (tensorflow-1.8.0-cp36-cp36m-macosx_10_11_x86_64.whl)</li>
<li><strong>TensorFlow version (use command below)</strong>: 1.8.0</li>
<li><strong>Python version</strong>: 3.6.4</li>
<li><strong>Bazel version (if compiling from source)</strong>: NA</li>
<li><strong>GCC/Compiler version (if compiling from source)</strong>: NA</li>
<li><strong>CUDA/cuDNN version</strong>: NA</li>
<li><strong>GPU model and memory</strong>: NA</li>
<li><strong>Exact command to reproduce</strong>: pip3 install tensorflow &amp;&amp; python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"</li>
</ul>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">I tried to install tensorflow and the module does not load. Same problem for all version up to 1.5.0 which then works fine.<br>
(with version 1.5.0)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" python -c &quot;import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)&quot;
/Users/marco/coding/crypto/_python_env/_mac/nn/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
v1.5.0-0-g37aa430d84 1.5.0"><pre class="notranslate"><code class="notranslate"> python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
/Users/marco/coding/crypto/_python_env/_mac/nn/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
v1.5.0-0-g37aa430d84 1.5.0
</code></pre></div>
<h3 dir="auto">Source code / logs</h3>
<p dir="auto">I run a verbose import as attached for the latest version (<code class="notranslate">python3 -v -m tensorflow 2&amp;&gt; verbose_import.txt</code>).<br>
<a href="https://github.com/tensorflow/tensorflow/files/1976200/verbose_import.txt">verbose_import.txt</a></p>
<p dir="auto">As announced in release notes, TensorFlow release binaries version 1.6 and higher are prebuilt with AVX instruction sets. This means on any CPU that do not have these instruction sets either CPU or GPU version of TF will fail to load with any of the following errors:</p>
<ul dir="auto">
<li><code class="notranslate">ImportError: DLL load failed:</code></li>
<li>A crash with return code 132</li>
</ul>
<p dir="auto">Our recommendation is to build TF from sources on these systems.</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</li>
<li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: ubuntu/windows/macos</li>
<li><strong>TensorFlow installed from (source or binary)</strong>: binary</li>
<li><strong>TensorFlow version (use command below)</strong>: 1.6 and up</li>
<li><strong>Python version</strong>:  2.7, 3.3, 3.4, 3.5, 3.6 and any newer</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>: any</li>
<li><strong>GPU model and memory</strong>: any</li>
<li><strong>Exact command to reproduce</strong>: python -c "import tensorflow as tf"</li>
</ul>