serving icon indicating copy to clipboard operation
serving copied to clipboard

create pip package path issue

Open bzhangcw opened this issue 8 years ago • 0 comments

I'm trying to build the pip package from source using bazel

compiling is fine using the guide:

bazel test -c opt tensorflow_serving/...

then I tried to create pip package

bazel-bin/tensorflow_serving/tools/pip_package/build_pip_package /tmp/

with error

cp: cannot stat 'bazel-serving/tensorflow_serving/apis/*_pb2.py': No such file or directory

I looked into the script at serving/tensorflow_serving/tools/pip_package/build_pip_package.sh and found the problem is that it uses path bazel-serving instead of bazel-tensorflow-serving.

I changed output directory bazel-tensorflow-serving back to bazel-serving and it works well. I suppose it could also be a quick fix by changing paths in the script.

bzhangcw avatar Mar 14 '18 05:03 bzhangcw