我正在尝试在 OSX El Capitan 上构建 tensorfolw_serving 并不断收到错误消息。我通过自制软件安装了 Bazel。
这是错误:
$ bazel build tensorflow_serving/...
Extracting Bazel installation...
............
ERROR: /private/var/tmp/_bazel_robertgrzesik/fb4fbbbabd0582fe8f5abe6ab13dbfd9/external/inception_model/inception/slim/BUILD:93:1: no such package 'inception': BUILD file not found on package path and referenced by '@inception_model//inception/slim:slim'.
ERROR: Loading failed; build aborted.
INFO: Elapsed time: 45.554s
我还尝试在我的系统上为其提供包路径并得到一个不同的错误:
$ bazel build --package_path /Users/robertgrzesik/anaconda/lib/python2.7/site-packages tensorflow_serving/...
ERROR: no targets found beneath 'tensorflow_serving'.
INFO: Elapsed time: 0.131s