<p dir="auto">CentOS 6.7<br>
Cuda 7.0<br>
cuDNN 4.0.7</p>
<p dir="auto">I resolve <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="153611031" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/2266" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/2266/hovercard" href="https://github.com/tensorflow/tensorflow/issues/2266">#2266</a> by hard coding the python2.7 path in <code class="notranslate">third_party/gpus/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc</code>.</p>
<p dir="auto">After also resolving a similar problem with <code class="notranslate">swig</code>, it compiles without errors:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Target //tensorflow/tools/pip_package:build_pip_package up-to-date:
  bazel-bin/tensorflow/tools/pip_package/build_pip_package
INFO: Elapsed time: 228.884s, Critical Path: 199.55s"><pre class="notranslate"><code class="notranslate">Target //tensorflow/tools/pip_package:build_pip_package up-to-date:
  bazel-bin/tensorflow/tools/pip_package/build_pip_package
INFO: Elapsed time: 228.884s, Critical Path: 199.55s
</code></pre></div>
<p dir="auto">But it seems that <code class="notranslate">build_pip_package</code> was only partially (?) completed:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rdipiet2@jhu.edu@login-node03 tensorflow $ bazel-bin/tensorflow/tools/pip_package/build_pip_package testonly
Tue May 17 11:09:33 EDT 2016 : === Using tmpdir: /tmp/tmp.akIEI1WBAX
cp: cannot stat `bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles/tensorflow': No such file or directory
cp: cannot stat `bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles/external': No such file or directory"><pre class="notranslate"><code class="notranslate">rdipiet2@jhu.edu@login-node03 tensorflow $ bazel-bin/tensorflow/tools/pip_package/build_pip_package testonly
Tue May 17 11:09:33 EDT 2016 : === Using tmpdir: /tmp/tmp.akIEI1WBAX
cp: cannot stat `bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles/tensorflow': No such file or directory
cp: cannot stat `bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles/external': No such file or directory
</code></pre></div>
<p dir="auto">Any ideas? Could something be failing silently?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
2016年 04月 21日 星期四 07:34:12 CST : === Using tmpdir: /tmp/tmp.cMsLMGw3bz
cp: cannot stat ‘bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles/tensorflow’: No such file or directory
cp: cannot stat ‘bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles/external’: No such file or directory"><pre class="notranslate"><code class="notranslate">bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
2016年 04月 21日 星期四 07:34:12 CST : === Using tmpdir: /tmp/tmp.cMsLMGw3bz
cp: cannot stat ‘bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles/tensorflow’: No such file or directory
cp: cannot stat ‘bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles/external’: No such file or directory
</code></pre></div>