系统信息:
我有以下问题:
错误:/ home / algabri / tensorflow / tensorflow / BUILD:541:1:执行中 genrule // tensorflow:python_api_gen失败(出口1)
回溯(最近通话最近):文件 “ /home/algabri/.cache/bazel/_bazel_algabri/8f37592fe2ac18f4f7302daf92d2a950/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/tools/api/generator/create_python_api.runfiles/org_tensorflow/tensorgen/apis .py”, 第27行,在 从tensorflow.python.util导入tf_decorator
文件 “ /home/algabri/.cache/bazel/_bazel_algabri/8f37592fe2ac18f4f7302daf92d2a950/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/tools/api/generator/create_python_api.runfiles/org_tensorflow/tensorflow/strong < /strong>.py”, 第63行,在 从tensorflow.python.framework.framework_lib导入*#pylint:disable = redefined-builtin
文件 “ /home/algabri/.cache/bazel/_bazel_algabri/8f37592fe2ac18f4f7302daf92d2a950/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/tools/api/generator/create_python_api.runfiles/org_tensorflow/workpyflow/work/work/work。 ”, 第52行,在 从tensorflow.python.framework.importer导入import_graph_def
文件 “ /home/algabri/.cache/bazel/_bazel_algabri/8f37592fe2ac18f4f7302daf92d2a950/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/tools/api/generator/create_python_api.runfiles/org_tensorflow/workorflow/python/frame。 “,第27行,在 从tensorflow.python.framework导入功能
文件 “ /home/algabri/.cache/bazel/_bazel_algabri/8f37592fe2ac18f4f7302daf92d2a950/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/tools/api/generator/create_python_api.runfiles/org_tensorflow/workorflow/python/frame “,第37行,在 从tensorflow.python.ops导入variable_scope作为vs
文件 “ /home/algabri/.cache/bazel/_bazel_algabri/8f37592fe2ac18f4f7302daf92d2a950/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/tools/api/generator/create_python_api.runfiles/org_tensorflow/tensorflow/python/scope ”,位于
中的第24行import枚举#pylint:disable = g-bad-import-order ImportError:否 名为enum Target的模块 // tensorflow / tools / pip_package:build_pip_package无法建立使用 --verbose_failures可以查看失败的构建步骤的命令行。 INFO:经过时间:2962.52s,关键路径:139.77s
失败:构建未成功完成
请帮助我解决上述问题。预先感谢。