Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR in step 9 "python3 setup.py bdist_wheel" #11

Open
rusty-error opened this issue Nov 5, 2022 · 2 comments
Open

ERROR in step 9 "python3 setup.py bdist_wheel" #11

rusty-error opened this issue Nov 5, 2022 · 2 comments

Comments

@rusty-error
Copy link

rusty-error commented Nov 5, 2022

I completed all 8 steps but when i try to complete this one i get an error. How to solve this? Thanks.

running bdist_wheel
running build
running build_binary_graphs
generating binarypb: mediapipe/modules/face_detection/face_detection_short_range_cpu
Starting local Bazel server and connecting to it...
DEBUG: /home/pi/.cache/bazel/_bazel_pi/a69eb3bf972519b4a5715566543279ba/external/org_tensorflow/third_party/repo.bzl:109:14: 
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /home/pi/.cache/bazel/_bazel_pi/a69eb3bf972519b4a5715566543279ba/external/org_tensorflow/third_party/repo.bzl:109:14: 
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /home/pi/.cache/bazel/_bazel_pi/a69eb3bf972519b4a5715566543279ba/external/org_tensorflow/third_party/repo.bzl:109:14: 
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /home/pi/.cache/bazel/_bazel_pi/a69eb3bf972519b4a5715566543279ba/external/org_tensorflow/third_party/repo.bzl:109:14: 
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /home/pi/.cache/bazel/_bazel_pi/a69eb3bf972519b4a5715566543279ba/external/org_tensorflow/third_party/repo.bzl:109:14: 
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: /home/pi/.cache/bazel/_bazel_pi/a69eb3bf972519b4a5715566543279ba/external/org_tensorflow/third_party/repo.bzl:109:14: 
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: /home/pi/.cache/bazel/_bazel_pi/a69eb3bf972519b4a5715566543279ba/external/org_tensorflow/third_party/repo.bzl:109:14: 
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: /home/pi/.cache/bazel/_bazel_pi/a69eb3bf972519b4a5715566543279ba/external/org_tensorflow/third_party/repo.bzl:109:14: 
Warning: skipping import of repository 'bazel_skylib' because it already exists.
DEBUG: /home/pi/.cache/bazel/_bazel_pi/a69eb3bf972519b4a5715566543279ba/external/org_tensorflow/third_party/repo.bzl:109:14: 
Warning: skipping import of repository 'pybind11' because it already exists.
ERROR: Traceback (most recent call last):
	File "/home/pi/.cache/bazel/_bazel_pi/a69eb3bf972519b4a5715566543279ba/external/rules_cc/cc/private/rules_impl/cc_flags_supplier.bzl", line 16, column 76, in <toplevel>
		load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain", "use_cpp_toolchain")
Error: file '@bazel_tools//tools/cpp:toolchain_utils.bzl' does not contain symbol 'use_cpp_toolchain' (did you mean 'find_cpp_toolchain'?)
ERROR: While resolving toolchains for target //mediapipe/modules/face_detection:face_detection_short_range_cpu: com.google.devtools.build.lib.packages.BuildFileContainsErrorsException: error loading package '@bazel_tools//tools/cpp': in /home/pi/.cache/bazel/_bazel_pi/a69eb3bf972519b4a5715566543279ba/external/rules_cc/cc/defs.bzl: Extension file 'cc/private/rules_impl/cc_flags_supplier.bzl' has errors
ERROR: Analysis of target '//mediapipe/modules/face_detection:face_detection_short_range_cpu' failed; build aborted: com.google.devtools.build.lib.packages.BuildFileContainsErrorsException: error loading package '@bazel_tools//tools/cpp': in /home/pi/.cache/bazel/_bazel_pi/a69eb3bf972519b4a5715566543279ba/external/rules_cc/cc/defs.bzl: Extension file 'cc/private/rules_impl/cc_flags_supplier.bzl' has errors
INFO: Elapsed time: 16.737s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (2 packages loaded, 0 targets conf\
igured)
@ccarmatic
Copy link

ccarmatic commented Apr 27, 2023

ERROR: Traceback (most recent call last):
        File "/home/carmatic/.cache/bazel/_bazel_carmatic/22db4830a61cb727947872a826b3fd8a/external/rules_cc/cc/private/rules_impl/compiler_flag.bzl", line 17, column 76, in <toplevel>
                load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain", "use_cpp_toolchain")
Error: file '@bazel_tools//tools/cpp:toolchain_utils.bzl' does not contain symbol 'use_cpp_toolchain' (did you mean 'find_cpp_toolchain'?)
ERROR: While resolving toolchains for target //mediapipe/modules/face_detection:face_detection_short_range_cpu: com.google.devtools.build.lib.packages.BuildFileContainsErrorsException: error loading package '@bazel_tools//tools/cpp': in /home/carmatic/.cache/bazel/_bazel_carmatic/22db4830a61cb727947872a826b3fd8a/external/rules_cc/cc/defs.bzl: Extension file 'cc/private/rules_impl/compiler_flag.bzl' has errors
ERROR: Analysis of target '//mediapipe/modules/face_detection:face_detection_short_range_cpu' failed; build aborted: com.google.devtools.build.lib.packages.BuildFileContainsErrorsException: error loading package '@bazel_tools//tools/cpp': in /home/carmatic/.cache/bazel/_bazel_carmatic/22db4830a61cb727947872a826b3fd8a/external/rules_cc/cc/defs.bzl: Extension file 'cc/private/rules_impl/compiler_flag.bzl' has errors

@Jay042003
Copy link

DEBUG: Repository rules_cc instantiated at:
/home/pi/mediapipe-0.8.8/WORKSPACE:36:13: in
Repository rule http_archive defined at:
/home/pi/.cache/bazel/_bazel_pi/a69eb3bf972519b4a5715566543279ba/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
ERROR: Traceback (most recent call last):
File "/home/pi/.cache/bazel/_bazel_pi/a69eb3bf972519b4a5715566543279ba/external/rules_cc/cc/private/rules_impl/compiler_flag.bzl", line 17, column 76, in
load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain", "use_cpp_toolchain")
Error: file '@bazel_tools//tools/cpp:toolchain_utils.bzl' does not contain symbol 'use_cpp_toolchain' (did you mean 'find_cpp_toolchain'?)
ERROR: While resolving toolchains for target //mediapipe/modules/face_detection:face_detection_short_range_cpu: com.google.devtools.build.lib.packages.BuildFileContainsErrorsException: error loading package '@bazel_tools//tools/cpp': in /home/pi/.cache/bazel/_bazel_pi/a69eb3bf972519b4a5715566543279ba/external/rules_cc/cc/defs.bzl: Extension file 'cc/private/rules_impl/compiler_flag.bzl' has errors
ERROR: Analysis of target '//mediapipe/modules/face_detection:face_detection_short_range_cpu' failed; build aborted: com.google.devtools.build.lib.packages.BuildFileContainsErrorsException: error loading package '@bazel_tools//tools/cpp': in /home/pi/.cache/bazel/_bazel_pi/a69eb3bf972519b4a5715566543279ba/external/rules_cc/cc/defs.bzl: Extension file 'cc/private/rules_impl/compiler_flag.bzl' has errors
INFO: Elapsed time: 116.639s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (2 packages loaded, 0 targets configured)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants