vmwareで作成したubuntu14.04の32bitにtensorflowを入れる時に、下記のコマンドを打ちました。
しかし、処理5で「エラーが発生してしまいました。bazelがうまくインストールできていないと考えているのですが、何が原因なのでしょうか?また対策はどうすればいいんでしょうか?ご教授願います。
コマンドメッセージとエラー内容、bazelのcompile.hの実行結果を記述いたします。
----------bazelをインストールするためのコマンド-----------
1.Bazel(ver0.1.1)のGitリポジトリをClone
git clone https://github.com/bazelbuild/bazel.git
2.Bazelのcompile.shを実行
cd bazel
git checkout tags/0.1.0
./compile.sh
3.TensorFlowのGitリポジトリをClone
git clone --recurse-submodules https://github.com/tensorflow/tensorflow
4.TensorFlowのconfigureを実行
関連パッケージのインストール
sudo apt-get install python-numpy swig python-dev
cd tensorflow
./configure (GPUサポートなしを選択)
5.bazelを使ってTensorFlowのpip_packageをビルド
bazel build -c opt //tensorflow/tools/pip_package:build_pip_package
bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
----------処理5のエラー-------------------------
/home/ユーザ名/bin/bazel: line 86: /home/ユーザ名/.bazel/bin/bazel-real: cannot execute binary file: Exec format error
/home/ユーザ名/bin/bazel: line 86: /home/ユーザ名/.bazel/bin/bazel-real: Success
-----------compile.hの実行結果--------------------------
INFO: Found 1 target...
Slow read: a 66065246-byte read from /home/ユーザ名/.cache/bazel/_bazel_ユーザ名/798f98f53bc2db8b06141971d004f789/external/local-jdk/jre/lib/rt.jar took 10637ms.
Target //src:bazel up-to-date:
bazel-bin/src/bazel
INFO: Elapsed time: 66.613s, Critical Path: 36.00s
???? Building Bazel tools....
???? Setting up base workspace.
Build successful! Binary is here: /home/ユーザ名/bazel/output/bazel
あなたの回答
tips
プレビュー