bazel 本地引入包的方式
d:\Program Files (x86)\Microsoft Visual Studio\2019\Community
bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 --action_env PYTHON_BIN_PATH="C:\\_____Soft______\\python3.8.0\\python.exe" mediapipe/examples/desktop/hello_world
file:///C:/Users/peng/Downloads/rules_foreign_cc-0.1.0.zip
urls = [ "https://github.com/bazelbuild/rules_foreign_cc/archive/0.1.0.zip",
"file:///C:/Users/peng/Downloads/rules_foreign_cc-0.1.0.zip",
],
https://github.com/bazelbuild/rules_swift/releases/download/0.24.0/rules_swift.0.24.0.tar.gz
http_archive(
name = "rules_swift",
sha256 = "4f167e5dbb49b082c5b7f49ee688630d69fb96f15c84c448faa2e97a5780dbbc",
strip_prefix = "rules_swift.0.24.0",
urls = ["file:///C:/Users/peng/Downloads/rules_swift.0.24.0.tar.gz"],
)
ERROR: An error occurred during the fetch of repository 'build_bazel_apple_suppo
rt':
Traceback (most recent call last):
File "C:/users/peng/_bazel_peng/qbgstc4b/external/bazel_tools/tools/buil
d_defs/repo/http.bzl", line 111, column 45, in _http_archive_impl
download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://g
ithub.com/bazelbuild/apple_support/releases/download/0.11.0/apple_support.0.11.0
.tar.gz] to C:/users/peng/_bazel_peng/qbgstc4b/external/build_bazel_apple_suppor
t/temp8846515850834836535/apple_support.0.11.0.tar.gz: connect timed out
ERROR: D:/1hair/mediapipe-master/WORKSPACE:277:25: fetching http_archive rule //
external:build_bazel_apple_support: Traceback (most recent call last):
File "C:/users/peng/_bazel_peng/qbgstc4b/external/bazel_tools/tools/buil
d_defs/repo/http.bzl", line 111, column 45, in _http_archive_impl
download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://g
ithub.com/bazelbuild/apple_support/releases/download/0.11.0/apple_support.0.11.0
.tar.gz] to C:/users/peng/_bazel_peng/qbgstc4b/external/build_bazel_apple_suppor
t/temp8846515850834836535/apple_support.0.11.0.tar.gz: connect timed out
ERROR: no such package '@build_bazel_apple_support//lib': java.io.IOException: E
rror downloading [https://github.com/bazelbuild/apple_support/releases/download/
0.11.0/apple_support.0.11.0.tar.gz] to C:/users/peng/_bazel_peng/qbgstc4b/extern
al/build_bazel_apple_support/temp8846515850834836535/apple_support.0.11.0.tar.gz
: connect timed out
INFO: Elapsed time: 55.874s
INFO: 0 processes.
http_archive(
name = "build_bazel_apple_support",
sha256 = "741366f79d900c11e11d8efd6cc6c66a31bfb2451178b58e0b5edc6f1db17b35",
urls = [
"https://github.com/bazelbuild/apple_support/releases/download/0.10.0/apple_support.0.10.0.tar.gz",
"file:///C:/Users/peng/Downloads/apple_support.0.10.0.tar.gz",
],
)
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了