質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%

Q&A

0回答

2505閲覧

tensorflowインストール時のbazelエラー

tak__tak

総合スコア78

0グッド

0クリップ

投稿2016/02/15 13:07

https://gist.github.com/erikbern/78ba519b97b440e10640

この通りに実行して
bazel build -c opt --config=cuda //tensorflow/cc:tutorials_example_trainer
の時に発生するエラーですが
これを解消する方法はどうすれば良いのでしょうか

ERROR: /mnt/tmp/tensorflow/tensorflow/cc/BUILD:11:6: syntax error at '"//tensorflow:tensorflow.bzl"': First argument of
load() is a path, not a label. It should start with a single slash if it is an absolute path..
ERROR: /mnt/tmp/tensorflow/tensorflow/cc/BUILD:12:6: syntax error at '"//tensorflow:tensorflow.bzl"': First argument of
load() is a path, not a label. It should start with a single slash if it is an absolute path..
ERROR: /mnt/tmp/tensorflow/tensorflow/cc/BUILD:11:6: file '/tensorflow:tensorflow.bzl.bzl' was not correctly loaded. Make sure the 'load' statement appears in the global scope, in the BUILD file.
ERROR: /mnt/tmp/tensorflow/tensorflow/cc/BUILD:12:6: file '/tensorflow:tensorflow.bzl.bzl' was not correctly loaded. Make sure the 'load' statement appears in the global scope, in the BUILD file.
ERROR: /mnt/tmp/tensorflow/tensorflow/cc/BUILD:21:13: name 'tf_copts' is not defined.
ERROR: /mnt/tmp/tensorflow/tensorflow/cc/BUILD:28:1: name 'tf_gen_op_wrappers_cc' is not defined.
ERROR: /mnt/tmp/tensorflow/tensorflow/cc/BUILD:66:13: name 'tf_copts' is not defined.
ERROR: no such target '//tensorflow/cc:tutorials_example_trainer': target 'tutorials_example_trainer' not declared in package 'tensorflow/cc' defined by /mnt/tmp/tensorflow/tensorflow/cc/BUILD.
INFO: Elapsed time: 0.066s

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問