<p dir="auto">GitHub issues are for bugs / installation problems / feature requests.<br>
For general support from the community, see <a href="https://stackoverflow.com/questions/tagged/tensorflow" rel="nofollow">StackOverflow</a>.<br>
To make bugs and feature requests more easy to find and organize, we close issues that are deemed<br>
out of scope for GitHub Issues and point people to StackOverflow.</p>
<p dir="auto">For bugs or installation issues, please provide the following information.<br>
The more information you provide, the more easily we will be able to offer<br>
help and advice.</p>
<h3 dir="auto">Environment info</h3>
<p dir="auto">Operating System: 10.11.5<br>
Python Version: 2.7.12 (installed from homebrew)</p>
<p dir="auto">Installed version of CUDA and cuDNN:<br>
(please attach the output of <code class="notranslate">ls -l /path/to/cuda/lib/libcud*</code>):<br>
/usr/local/cuda/lib/libcuda.dylib<br>
/usr/local/cuda/lib/libcudadevrt.a -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudadevrt.a<br>
/usr/local/cuda/lib/libcudart.7.5.dylib -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudart.7.5.dylib<br>
/usr/local/cuda/lib/libcudart.dylib -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudart.dylib<br>
/usr/local/cuda/lib/libcudart_static.a -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudart_static.a<br>
/usr/local/cuda/lib/libcudnn.5.dylib<br>
/usr/local/cuda/lib/libcudnn.dylib -&gt; libcudnn.5.dylib<br>
/usr/local/cuda/lib/libcudnn_static.a<br>
If installed from binary pip package, provide:</p>
<ol dir="auto">
<li>Which pip package you installed.<br>
I tried both install from source using the OSX guide.<br>
And, the nightly binary with GPU support. 0.90</li>
<li>The output from <code class="notranslate">python -c "import tensorflow; print(tensorflow.__version__)"</code>.<br>
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcublas.dylib locally<br>
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcudnn.dylib locally<br>
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcufft.dylib locally<br>
fish: 'python -c "import tensorflow"' terminated by signal SIGSEGV (Address boundary error)</li>
</ol>
<p dir="auto">Python quits</p>
<p dir="auto">If installed from source, provide</p>
<ol dir="auto">
<li>The commit hash (<code class="notranslate">git rev-parse HEAD</code>)<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/5161e4c51b994b3feb93cdb851479c29a3450f31/hovercard" href="https://github.com/tensorflow/tensorflow/commit/5161e4c51b994b3feb93cdb851479c29a3450f31"><tt>5161e4c</tt></a></li>
<li>The output of <code class="notranslate">bazel version</code><br>
Build label: 0.3.0-homebrew<br>
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar<br>
Build time: Tue Jul 12 11:11:47 2016 (1468321907)<br>
Build timestamp: 1468321907<br>
Build timestamp as int: 1468321907</li>
</ol>
<h3 dir="auto">Steps to reproduce</h3>
<ol dir="auto">
<li>Install tensorflow from source or nightly using pip install</li>
<li>python -c "import tensorflow"</li>
</ol>
<h3 dir="auto">What have you tried?</h3>
<ol dir="auto">
<li>import numpy, import scipy etc looking at previous errors.</li>
<li>dtruss output attached for import tensorflow</li>
</ol>
<h3 dir="auto">Logs or other output that would be helpful</h3>
<p dir="auto">(If logs are large, please upload<br>
<a href="https://github.com/tensorflow/tensorflow/files/382028/dtruss_python_tensorflow.txt">dtruss_python_tensorflow.txt</a><br>
as attachment).</p>
<p dir="auto">After configuring and running<br>
<code class="notranslate">bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package</code><br>
I am getting this error during the build:</p>
<p dir="auto"><code class="notranslate">ERROR: /pathtotensorflow/tensorflow/tensorflow/contrib/session_bundle/example/BUILD:38:1: Executing genrule //tensorflow/contrib/session_bundle/example:half_plus_two failed: bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1. Traceback (most recent call last): File "/private/var/tmp/_bazel_xxx/2ba3b3e08313f86d16eb1de7b54bf064/tensorflow/bazel-out/host/bin/tensorflow/contrib/session_bundle/example/export_half_plus_two.runfiles/tensorflow/contrib/session_bundle/example/export_half_plus_two.py", line 33, in &lt;module&gt; from tensorflow.contrib.session_bundle import exporter ImportError: No module named session_bundle Target //tensorflow/tools/pip_package:build_pip_package failed to build</code></p>
<h3 dir="auto">Environment info</h3>
<p dir="auto">Operating System: os x el Capitan</p>
<p dir="auto">Installed version of CUDA and cuDNN:<br>
<code class="notranslate">-rwxr-xr-x  1 root  wheel  8280 Apr 12 23:02 /usr/local/cuda/lib/libcuda.dylib lrwxr-xr-x  1 root  wheel    45 Apr 12 23:03 /usr/local/cuda/lib/libcudadevrt.a -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudadevrt.a lrwxr-xr-x  1 root  wheel    50 Apr 12 23:03 /usr/local/cuda/lib/libcudart.7.5.dylib -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudart.7.5.dylib lrwxr-xr-x  1 root  wheel    46 Apr 12 23:03 /usr/local/cuda/lib/libcudart.dylib -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudart.dylib lrwxr-xr-x  1 root  wheel    49 Apr 12 23:03 /usr/local/cuda/lib/libcudart_static.a -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudart_static.a lrwxr-xr-x  1 root  admin    47 Jun 16 11:25 /usr/local/cuda/lib/libcudnn.5.dylib -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudnn.5.dylib lrwxr-xr-x  1 root  admin    45 Jun 16 11:25 /usr/local/cuda/lib/libcudnn.dylib -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudnn.dylib lrwxr-xr-x  1 root  admin    48 Jun 16 11:25 /usr/local/cuda/lib/libcudnn_static.a -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudnn_static.a</code></p>