Giter Club home page Giter Club logo

Comments (6)

Mistobaan avatar Mistobaan commented on May 22, 2024

make sure that you are using bazel version 0.2.0 bazel version to find out the version.

from serving.

kirilg avatar kirilg commented on May 22, 2024

Just to check, does it work with bazel version 0.2.0 and after running .configure within Tensorflow as mentioned in https://tensorflow.github.io/serving/setup or is it still failing?

from serving.

72L avatar 72L commented on May 22, 2024

It fails with this error:

ERROR: /home/ubuntu/.cache/bazel/_bazel_ubuntu/8bd6e58495e54c8cdf1fb8b1ed15e742/external/tf/google/protobuf/BUILD:520:1: no such package 'util/python': BUILD file not found on package path and referenced by '@tf//google/protobuf:internal/_api_implementation.so'.
ERROR: Loading failed; build aborted.
INFO: Elapsed time: 0.455s

UPDATE: After upgrading to 0.2.0, issue is resolved :)

from serving.

kirilg avatar kirilg commented on May 22, 2024

Great! Closing this issue since it sounds like upgrading to Bazel 0.2.0 solved it. Please re-open if you encounter it again.

from serving.

rdipietro avatar rdipietro commented on May 22, 2024

I get a different error, even with Bazel 0.2.0.

Note: python2.7 does exist, and /usr/bin/env python2.7 opens the interpreter with no problem. Not sure what's getting lost so that it can't be found.

This is at HEAD on CentOS 6.7. (Successfully built Bazel 0.2.0 from source.)

Any ideas?

ERROR: /home-4/[email protected]/install/tensorflow/google/protobuf/BUILD:520:1: Linking of rule '//google/protobuf:internal/_api_implementation.so' failed: crosstool_wrapper_driver_is_not_gcc failed: error executing command 
  (cd /home-4/[email protected]/.cache/bazel/[email protected]/549db212089e33b4d213773753834e47/tensorflow && \
  exec env - \
  third_party/gpus/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -shared -o bazel-out/local_linux-opt/bin/google/protobuf/internal/_api_implementation.so -Wl,-whole-archive bazel-out/local_linux-opt/bin/google/protobuf/_objs/internal/_api_implementation.so/google/protobuf/python/google/protobuf/internal/api_implementation.pic.o -Wl,-no-whole-archive -Wl,-R/cm/shared/apps/gcc/4.8.2/lib64 -lstdc++ -B/usr/bin/ -Wl,-z,relro,-z,now -no-canonical-prefixes -pass-exit-codes '-Wl,--build-id=md5' '-Wl,--hash-style=gnu' -Wl,--gc-sections -lrt): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 127: crosstool_wrapper_driver_is_not_gcc failed: error executing command 
  (cd /home-4/[email protected]/.cache/bazel/[email protected]/549db212089e33b4d213773753834e47/tensorflow && \
  exec env - \
  third_party/gpus/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -shared -o bazel-out/local_linux-opt/bin/google/protobuf/internal/_api_implementation.so -Wl,-whole-archive bazel-out/local_linux-opt/bin/google/protobuf/_objs/internal/_api_implementation.so/google/protobuf/python/google/protobuf/internal/api_implementation.pic.o -Wl,-no-whole-archive -Wl,-R/cm/shared/apps/gcc/4.8.2/lib64 -lstdc++ -B/usr/bin/ -Wl,-z,relro,-z,now -no-canonical-prefixes -pass-exit-codes '-Wl,--build-id=md5' '-Wl,--hash-style=gnu' -Wl,--gc-sections -lrt): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 127.
/usr/bin/env: python2.7: No such file or directory

from serving.

rdipietro avatar rdipietro commented on May 22, 2024

Ah – I just realized this is for TensorFlow Serving. I'll open a new issue.

from serving.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.