Min
Min

Reputation: 1

tensorflow install: bazel build error: failed package loads

Everything was fined before got the following error:

bazel build -c opt //tensorflow/cc:tutorials_example_trainer

... INFO: Loading package: @local_config_cc// --> ERROR: Loading failed; build aborted.

I'm working on Ubuntu 14.04 and bazel 0.2.2. Any idea to this?

Thanks in advance...

Upvotes: 0

Views: 701

Answers (1)

Yaroslav Bulatov
Yaroslav Bulatov

Reputation: 57973

To upgrade to bazel 0.3 system-wide

wget -O bazel-3.sh https://github.com/bazelbuild/bazel/releases/download/0.3.0/bazel-0.3.0-installer-linux-x86_64.sh
chmod 755 bazel-3.sh
sudo ./bazel-3.sh
bazel version

Upvotes: 0

Related Questions