parsey-mcparseface-api icon indicating copy to clipboard operation
parsey-mcparseface-api copied to clipboard

Error compiling

Open davidsbatista opened this issue 7 years ago • 3 comments

bazel build -c opt parsey_api/...
..........
ERROR: /private/var/tmp/_bazel_dbatista/6ac1d96aa6ae4210235143c7e192238a/external/org_tensorflow/third_party/py/python_configure.bzl:183:20: unexpected keyword 'environ' in call to repository_rule(implementation: function, *, attrs: dict or NoneType = None, local: bool = False).
ERROR: com.google.devtools.build.lib.packages.BuildFileContainsErrorsException: error loading package '': Extension file 'third_party/py/python_configure.bzl' has errors.

anyone knows how to get past this compiling error? I'm kind of stuck here.

davidsbatista avatar Apr 25 '17 14:04 davidsbatista

Have you been able to work it out ? I'm having the same issue while compiling tensorflow:

bazel build tensorflow:libtensorflow_all.so
WARNING: Sandboxed execution is not supported on your system and thus hermeticity of actions cannot be guaranteed. See http://bazel.build/docs/bazel-user-manual.html#sandboxing for more information. You can turn off this warning via --ignore_unsupported_sandboxing.
ERROR: /home/gdelaboulaye/tensorflow_PANO/tensorflow/third_party/py/python_configure.bzl:228:20: unexpected keyword 'environ' in call to repository_rule(implementation: function, *, attrs: dict or NoneType = None, local: bool = False).
ERROR: com.google.devtools.build.lib.packages.BuildFileContainsErrorsException: error loading package '': Extension file 'third_party/py/python_configure.bzl' has errors.
INFO: Elapsed time: 0.481s

gdelab avatar May 03 '17 09:05 gdelab

I'm still stuck on that same error

davidsbatista avatar May 19 '17 07:05 davidsbatista

I'm not trying to build the same project so we may have different problems, but I simply solved it by going back to a previous TF version (I think): git checkout r1.0

before configure

gdelab avatar May 19 '17 10:05 gdelab