parsey-mcparseface-api
parsey-mcparseface-api copied to clipboard
Error compiling
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.
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
I'm still stuck on that same error
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