在Raspberry Pi错误上安装Tensorflow

时间:2016-09-18 19:51:32

标签: tensorflow raspbian raspberry-pi3

在尝试在我的Raspberry Pi 3B上安装Tensorflow作为g2p-seq2seq程序的一部分时,我遇到了一些问题。

使用指南here,执行命令时遇到错误:

bazel build -c opt --copt="-mfpu=neon" --local_resources 1024,1.0,1.0 --verbose_failures tensorflow/tools/pip_package:build_pip_package

我收到以下错误:

WARNING: Sandboxed execution is not supported on your system and thus hermeticity of actions cannot be guaranteed. See http://bazel.io/docs/bazel-user-manual.html#sandboxing for more information. You can turn off this warning via --ignore_unsupported_sandboxing.
ERROR: /home/pi/makevoicedemo/tf/tensorflow/tensorflow/tensorflow.bzl:571:26: Traceback (most recent call last):
        File "/home/pi/makevoicedemo/tf/tensorflow/tensorflow/tensorflow.bzl", line 565
                rule(attrs = {"srcs": attr.label_list..."), <3 more arguments>)}, <2 more arguments>)
        File "/home/pi/makevoicedemo/tf/tensorflow/tensorflow/tensorflow.bzl", line 571, in rule
                attr.label_list(cfg = "data", allow_files = True)
expected ConfigurationTransition or NoneType for 'cfg' while calling label_list but got string instead: data.
ERROR: com.google.devtools.build.lib.packages.BuildFileContainsErrorsException: error loading package '': Extension file 'tensorflow/tensorflow.bzl' has errors.
INFO: Elapsed time: 0.337s

我知道警告通知不是一个大问题,但是我不知道如何修复这两个错误。我在Raspberry Pi上找到关于此问题的Tensorflow的文档很难遵循。如果有人有任何建议我会很感激。

1 个答案:

答案 0 :(得分:0)

对不起,你遇到了问题!错误看起来像一个错误,所以你可以在https://github.com/tensorflow/tensorflow/issues

提交这个错误