活动介绍
file-type

Git仓库大文件清理与提交历史重写工具

1.77MB | 更新于2024-11-27 | 200 浏览量 | 0 下载量 举报 收藏
download 立即下载
这个工具是用go语言编写的,对版本管理系统Git的使用非常有帮助。" 在详细说明标题和描述中所说的知识点之前,我们需要先了解一下Git这个版本管理系统。Git是一个开源的分布式版本控制系统,用于敏捷高效地处理任何或小或大的项目。Git由Linus Torvalds于2005年创建,最初目的是为了更好地管理Linux内核开发。 接下来,我们来详细解析一下这个工具。 首先,我们来看一下"git-repo-clean-main.zip"这个工具的主要功能。这个工具可以帮助我们扫描和清理Git仓库中的大文件。在Git仓库中,如果存在大文件,将会占用大量的存储空间,而且对仓库的备份和克隆也会产生影响。因此,清理仓库中的大文件是一个常见的需求。 其次,这个工具还具有重写提交历史的功能。在Git的使用过程中,我们可能会遇到需要修改历史记录的情况,比如需要删除或者修改之前的提交。这个工具可以帮助我们实现这个需求。 再来看看这个工具的开发语言。"git-repo-clean-main.zip"是用go语言编写的。Go语言是一种开源的编程语言,它具有简洁、快速、安全、并行、开源等特性。Go语言非常适合于开发分布式系统、网络服务和并发任务。 最后,我们来了解一下这个工具的使用环境。这个工具是一个Git拓展工具,因此,它的使用环境是Git仓库。在使用这个工具之前,我们需要确保我们的计算机上已经安装了Git,并且我们有权限访问需要处理的Git仓库。 总的来说,"git-repo-clean-main.zip"是一个非常实用的Git仓库管理工具,它可以帮助我们有效地管理和维护Git仓库。如果你正在使用Git进行项目开发,那么这个工具可能会对你有所帮助。

相关推荐

filetype

2025-07-20 23:42:48.389 Log opened. (Time zone: UTC+08:00) 2025-07-20 23:42:48.389 Setup version: Inno Setup version 6.4.0 2025-07-20 23:42:48.389 Original Setup EXE: F:\游戏\esp-idf-tools-setup-online-2.3.5.exe 2025-07-20 23:42:48.390 Setup command line: /SL5="$AC0CE6,3312344,856064,F:\游戏\esp-idf-tools-setup-online-2.3.5.exe" 2025-07-20 23:42:48.390 Compatibility mode: Yes (Installer) 2025-07-20 23:42:48.390 Windows version: 10.0.19045 2025-07-20 23:42:48.390 Windows architecture: x64 (64-bit) 2025-07-20 23:42:48.390 Machine types supported by system: x86 x64 2025-07-20 23:42:48.390 User privileges: Administrative 2025-07-20 23:42:48.390 Administrative install mode: No 2025-07-20 23:42:48.390 Install mode root key: HKEY_CURRENT_USER 2025-07-20 23:42:48.390 64-bit install mode: Yes 2025-07-20 23:42:49.395 Created protected temporary directory: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp 2025-07-20 23:42:49.397 -- DLL function import -- 2025-07-20 23:42:49.397 Function and DLL name: idpAddFile@files:idp.dll 2025-07-20 23:42:49.398 Extracting temporary file: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.404 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.409 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.409 -- DLL function import -- 2025-07-20 23:42:49.409 Function and DLL name: idpAddFileComp@files:idp.dll 2025-07-20 23:42:49.409 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.409 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.409 -- DLL function import -- 2025-07-20 23:42:49.409 Function and DLL name: idpAddMirror@files:idp.dll 2025-07-20 23:42:49.409 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.409 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.409 -- DLL function import -- 2025-07-20 23:42:49.409 Function and DLL name: idpAddFtpDir@files:idp.dll 2025-07-20 23:42:49.409 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.409 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.409 -- DLL function import -- 2025-07-20 23:42:49.409 Function and DLL name: idpAddFtpDirComp@files:idp.dll 2025-07-20 23:42:49.409 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.409 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.409 -- DLL function import -- 2025-07-20 23:42:49.409 Function and DLL name: idpClearFiles@files:idp.dll 2025-07-20 23:42:49.409 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.409 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.409 -- DLL function import -- 2025-07-20 23:42:49.409 Function and DLL name: idpFilesCount@files:idp.dll 2025-07-20 23:42:49.409 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.409 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.409 -- DLL function import -- 2025-07-20 23:42:49.409 Function and DLL name: idpFtpDirsCount@files:idp.dll 2025-07-20 23:42:49.409 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.409 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.409 -- DLL function import -- 2025-07-20 23:42:49.409 Function and DLL name: idpFileDownloaded@files:idp.dll 2025-07-20 23:42:49.409 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.409 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpFilesDownloaded@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpDownloadFile@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpDownloadFiles@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpDownloadFilesComp@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpDownloadFilesCompUi@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpStartDownload@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpStopDownload@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpSetLogin@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpSetProxyMode@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpSetProxyName@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpSetProxyLogin@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpConnectControl@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpAddMessage@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpSetInternalOption@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpSetDetailedMode@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpSetComponents@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpReportError@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpTrace@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpAddFileSize@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpAddFileSize@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpGetFileSize@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: idpGetFilesSize@files:idp.dll 2025-07-20 23:42:49.410 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idp.dll 2025-07-20 23:42:49.410 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.410 -- DLL function import -- 2025-07-20 23:42:49.410 Function and DLL name: proc_start@files:cmdlinerunner.dll 2025-07-20 23:42:49.411 Extracting temporary file: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\cmdlinerunner.dll 2025-07-20 23:42:49.415 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\cmdlinerunner.dll 2025-07-20 23:42:49.441 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.441 -- DLL function import -- 2025-07-20 23:42:49.441 Function and DLL name: proc_get_exit_code@files:cmdlinerunner.dll 2025-07-20 23:42:49.441 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\cmdlinerunner.dll 2025-07-20 23:42:49.441 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.441 -- DLL function import -- 2025-07-20 23:42:49.441 Function and DLL name: proc_get_output@files:cmdlinerunner.dll 2025-07-20 23:42:49.441 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\cmdlinerunner.dll 2025-07-20 23:42:49.441 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.441 -- DLL function import -- 2025-07-20 23:42:49.441 Function and DLL name: proc_end@files:cmdlinerunner.dll 2025-07-20 23:42:49.441 Importing the DLL function. Dest DLL name: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\cmdlinerunner.dll 2025-07-20 23:42:49.441 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.441 -- DLL function import -- 2025-07-20 23:42:49.441 Function and DLL name: [email protected] 2025-07-20 23:42:49.441 Importing the DLL function. Dest DLL name: kernel32.dll 2025-07-20 23:42:49.441 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.441 -- DLL function import -- 2025-07-20 23:42:49.441 Function and DLL name: [email protected] 2025-07-20 23:42:49.441 Importing the DLL function. Dest DLL name: user32.dll 2025-07-20 23:42:49.441 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.441 -- DLL function import -- 2025-07-20 23:42:49.441 Function and DLL name: [email protected] 2025-07-20 23:42:49.441 Importing the DLL function. Dest DLL name: user32.dll 2025-07-20 23:42:49.441 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.441 -- DLL function import -- 2025-07-20 23:42:49.441 Function and DLL name: [email protected] 2025-07-20 23:42:49.441 Importing the DLL function. Dest DLL name: user32.dll 2025-07-20 23:42:49.441 Successfully imported the DLL function. Delay loaded? No 2025-07-20 23:42:49.535 Configuration /CONFIG= 2025-07-20 23:42:49.536 Configuration /CHECKPATH=yes 2025-07-20 23:42:49.536 Configuration /GITCLEAN=yes 2025-07-20 23:42:49.536 Configuration /GITRECURSIVE=yes 2025-07-20 23:42:49.536 Configuration /GITRESET=yes 2025-07-20 23:42:49.536 Configuration /GITDEPTH= 2025-07-20 23:42:49.536 Configuration /GITREPO=https://github.com/espressif/esp-idf.git 2025-07-20 23:42:49.536 Configuration /GITSUBMODULEURL= 2025-07-20 23:42:49.536 Configuration /GITUSEMIRROR=no 2025-07-20 23:42:49.536 Configuration /IDFDIR= 2025-07-20 23:42:49.536 Configuration /IDFUSEEXISTING=no 2025-07-20 23:42:49.536 Configuration /IDFVERSION= 2025-07-20 23:42:49.536 Configuration /IDFVERSIONSURL=https://dl.espressif.com/dl/esp-idf/idf_versions.txt 2025-07-20 23:42:49.536 Configuration /OFFLINE=no 2025-07-20 23:42:49.536 Configuration /PYTHONNOUSERSITE=yes 2025-07-20 23:42:49.536 Configuration /PYTHONWHEELSURL=https://dl.espressif.com/pypi 2025-07-20 23:42:49.536 Configuration /PYTHONWHEELSVERSION=3.11-2023-03-05 2025-07-20 23:42:49.536 Configuration /SKIPSYSTEMCHECK=no 2025-07-20 23:42:49.536 Configuration /USEEMBEDDEDGIT=yes 2025-07-20 23:42:49.536 Configuration /USEEMBEDDEDPYTHON=yes 2025-07-20 23:42:49.543 Extracting temporary file: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idf-env.exe 2025-07-20 23:42:49.721 Adding Python version=3.11.2 name=Use Python 3.11.2 Embedded (Recommended) executable=tools\idf-python\3.11.2\python.exe 2025-07-20 23:42:49.723 Found link in "有关 ESP-IDF 版ersions.html": "https://docs.espressif.com/projects/esp-idf/en/latest/versions.html" 2025-07-20 23:42:51.564 * 开始系统检查... 2025-07-20 23:42:51.567 * Windows 版本 2025-07-20 23:42:51.593 : 10.00.19045 2025-07-20 23:42:51.596 [正常] 2025-07-20 23:42:51.598 * 检查 Windows 注册表中的“启用长路径” 2025-07-20 23:42:51.602 [正常] 2025-07-20 23:42:51.606 * 活动代码页: 2025-07-20 23:42:51.608 Executing: chcp.com 2025-07-20 23:42:51.651 2025-07-20 23:42:51.653 * 检查证书 2025-07-20 23:42:51.655 * https://dl.espressif.com/dl/esp-idf 2025-07-20 23:42:51.657 $ C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idf-env.exe certificate verify --url https://dl.espressif.com/dl/esp-idf 2025-07-20 23:42:53.187 URL verified 2025-07-20 23:42:53.407 [正常] 2025-07-20 23:42:53.409 * https://github.com/espressif/esp-idf 2025-07-20 23:42:53.412 $ C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idf-env.exe certificate verify --url https://github.com/espressif/esp-idf 2025-07-20 23:42:53.628 Message box (Yes/No): 系统检查尚未完成。您想要跳过检查进行下一步吗? 2025-07-20 23:42:54.717 User chose Yes. 2025-07-20 23:42:54.717 ApplyPythonConfigurationByIndex index=0 2025-07-20 23:42:54.717 ApplyPythonConfigurationByIndex: PythonPath=tools\idf-python\3.11.2\ PythonExecutablePath=tools\idf-python\3.11.2\python.exe 2025-07-20 23:42:54.725 ApplyPythonConfigurationByIndex index=0 2025-07-20 23:42:54.725 ApplyPythonConfigurationByIndex: PythonPath=tools\idf-python\3.11.2\ PythonExecutablePath=tools\idf-python\3.11.2\python.exe 2025-07-20 23:42:54.726 OnIDFPagePrepare 2025-07-20 23:42:54.952 [警告] 2025-07-20 23:42:54.955 无法加载来自服务器 的数据。 2025-07-20 23:42:54.958 测试备选镜像 Gitee.com 2025-07-20 23:42:54.960 * https://gitee.com/EspressifSystems/esp-idf 2025-07-20 23:42:54.963 [正常] 2025-07-20 23:42:54.966 测试备选镜像 Jihulab.com 2025-07-20 23:42:54.968 * https://jihulab.com/esp-mirror/espressif/esp-idf 2025-07-20 23:42:54.970 [正常] 2025-07-20 23:42:54.972 * https://www.s3.amazonaws.com/ 2025-07-20 23:42:54.974 [正常] 2025-07-20 23:42:54.976 2025-07-20 23:42:54.980 * 检查终止。 2025-07-20 23:42:54.982 OnIDFPagePrepare 2025-07-20 23:42:55.991 OnIDFPageValidate index=0 2025-07-20 23:42:55.997 OnIDFDownloadPagePrepare 2025-07-20 23:42:57.671 Downloaded https://dl.espressif.com/dl/esp-idf/idf_versions.txt to C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idf_versions.txt 2025-07-20 23:42:57.673 Versions count: 11 2025-07-20 23:42:57.673 Version 0: v5.5-rc1 2025-07-20 23:42:57.673 Version 1: v5.4.2 2025-07-20 23:42:57.674 Version 2: v5.3.3 2025-07-20 23:42:57.674 Version 3: v5.2.5 2025-07-20 23:42:57.674 Version 4: v5.1.6 2025-07-20 23:42:57.674 Version 5: release/v5.5 2025-07-20 23:42:57.675 Version 6: release/v5.4 2025-07-20 23:42:57.675 Version 7: release/v5.3 2025-07-20 23:42:57.675 Version 8: release/v5.2 2025-07-20 23:42:57.680 Version 9: release/v5.1 2025-07-20 23:42:57.680 Version 10: master 2025-07-20 23:42:57.685 OnIDFDownloadPageValidate index=0 2025-07-20 23:42:57.695 Checking location of ToolsDir D:\Espressif\ is not a subdirectory of C:\Espressif\frameworks\esp-idf-v5.5-rc1-7\ 2025-07-20 23:42:58.030 Summary message: 使用嵌入式 Python 3.11.2 使用嵌入式 Git : D:\Espressif\tools\idf-git\2.44.0\cmd\git.exe 即将安装 ESP-IDF v5.5-rc1 into: C:\Espressif\frameworks\esp-idf-v5.5-rc1-7 IDF 工具目录(IDF_TOOLS_PATH): D:\Espressif Components: 驱动程序: FTDI Sillicon Labs Espressif WCH Targets: ESP32 ESP32-C3 ESP32-C6 ESP32-S2 ESP32-S3 ESP32-P4 优化下载: Assets (Espressif); Shallow (Git) 2025-07-20 23:43:00.812 Checking location of ToolsDir D:\Espressif\ is not a subdirectory of C:\Espressif\frameworks\esp-idf-v5.5-rc1-7\ 2025-07-20 23:43:01.221 Summary message: 使用嵌入式 Python 3.11.2 使用嵌入式 Git : D:\Espressif\tools\idf-git\2.44.0\cmd\git.exe 即将安装 ESP-IDF v5.5-rc1 into: C:\Espressif\frameworks\esp-idf-v5.5-rc1-7 IDF 工具目录(IDF_TOOLS_PATH): D:\Espressif Components: 驱动程序: FTDI Sillicon Labs Espressif WCH Targets: ESP32 ESP32-C3 ESP32-C6 ESP32-S2 ESP32-S3 ESP32-P4 优化下载: Assets (Espressif); Shallow (Git) 2025-07-20 23:43:01.802 Done, exit code=0 2025-07-20 23:43:01.802 -------- 2025-07-20 23:43:01.802 Running command: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idf-env.exe driver install --ftdi --silabs --espressif --wch Using cached directory: D:\Espressif/tools/idf-driver/silabs-2021-05-0 O Using cached directory: D:\Espressif/tools/idf-driver/ftdi-2021-05-0 O Using cached directory: D:\Espressif/tools/idf-driver/idf-driver-esp32-usb-jtag-2021-07-1 O Using cached directory: D:\Espressif/tools/idf-driver/whc-ch343ser-2022-08-0 O O Installing driver with INF D:\Espressif\tools\idf-driver\silabs-2021-05-03\silabser.inf -> C:\Windows\INF\oem13.inf ... Already installe Installing driver with INF D:\Espressif\tools\idf-driver\ftdi-2021-05-03\ftdiport.inf -> C:\Windows\INF\oem53.inf ... Already installe Installing driver with INF D:\Espressif\tools\idf-driver\idf-driver-esp32-usb-jtag-2021-07-15\usb_jtag_debug_unit.inf -> C:\Windows\INF\oem55.inf ... Already installe Installing driver with INF D:\Espressif\tools\idf-driver\whc-ch343ser-2022-08-02\CH343SER\Driver\CH343SER.INF ... File not foun 2025-07-20 23:43:01.802 -------- 2025-07-20 23:43:01.812 PythonExecutablePathUpdateAfterInstall: PythonPath=D:\Espressif\tools\idf-python\3.11.2\ PythonExecutablePath=D:\Espressif\tools\idf-python\3.11.2\python.exe 2025-07-20 23:43:01.812 Checking existence of: D:\Espressif\tools\idf-python\3.11.2\python.exe 2025-07-20 23:43:01.812 Found. 2025-07-20 23:43:01.812 Checking existence of: D:\Espressif\tools\idf-git\2.44.0\cmd\git.exe 2025-07-20 23:43:01.812 Found. 2025-07-20 23:43:01.812 IDFZIPFileVersion: v5.5-rc1 2025-07-20 23:43:01.812 IDFZIPFileName: D:\Espressif\releases\esp-idf-v5.5-rc1.zip does not exist 2025-07-20 23:43:01.812 Executing: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\idf-env.exe config set --git "D:/Espressif/tools/idf-git/2.44.0/cmd/git.exe" 2025-07-20 23:43:01.864 Result: 2025-07-20 23:43:01.870 Found 1 files to register with RestartManager. 2025-07-20 23:43:01.870 Calling RestartManager's RmGetList. 2025-07-20 23:43:01.874 RmGetList finished successfully. 2025-07-20 23:43:01.874 RestartManager found no applications using one of our files. 2025-07-20 23:43:01.880 Starting the installation process. 2025-07-20 23:43:01.882 Directory for uninstall files: D:\Espressif 2025-07-20 23:43:01.889 Will append to existing uninstall log: D:\Espressif\unins000.dat 2025-07-20 23:43:01.889 -- File entry -- 2025-07-20 23:43:01.890 Dest filename: D:\Espressif\unins000.exe 2025-07-20 23:43:01.890 Non-default bitness: 32-bit 2025-07-20 23:43:01.891 Time stamp of our file: 2025-07-20 23:42:48.349 2025-07-20 23:43:01.891 Dest file exists. 2025-07-20 23:43:01.891 Time stamp of existing file: 2025-07-20 23:37:03.767 2025-07-20 23:43:01.891 Version of our file: 51.1052.0.0 2025-07-20 23:43:01.891 Version of existing file: 51.1052.0.0 2025-07-20 23:43:01.891 Installing the file. 2025-07-20 23:43:01.896 Leaving temporary file in place for now. 2025-07-20 23:43:01.896 -- File entry -- 2025-07-20 23:43:01.897 Dest filename: D:\Espressif\idf-env.exe 2025-07-20 23:43:01.897 Time stamp of our file: 2025-04-09 16:55:38.000 2025-07-20 23:43:01.897 Dest file exists. 2025-07-20 23:43:01.897 Time stamp of existing file: 2025-04-09 16:55:38.000 2025-07-20 23:43:01.897 Version of our file: (none) 2025-07-20 23:43:01.898 Version of existing file: (none) 2025-07-20 23:43:01.898 Installing the file. 2025-07-20 23:43:02.038 Successfully installed the file. 2025-07-20 23:43:02.038 -- File entry -- 2025-07-20 23:43:02.038 Dest filename: D:\Espressif\idf_cmd_init.bat 2025-07-20 23:43:02.038 Time stamp of our file: 2025-04-09 16:55:18.000 2025-07-20 23:43:02.038 Dest file exists. 2025-07-20 23:43:02.038 Time stamp of existing file: 2025-04-09 16:55:18.000 2025-07-20 23:43:02.038 Version of our file: (none) 2025-07-20 23:43:02.039 Version of existing file: (none) 2025-07-20 23:43:02.039 Installing the file. 2025-07-20 23:43:02.040 Successfully installed the file. 2025-07-20 23:43:02.040 -- File entry -- 2025-07-20 23:43:02.041 Dest filename: D:\Espressif\Initialize-Idf.ps1 2025-07-20 23:43:02.041 Time stamp of our file: 2025-04-09 16:55:18.000 2025-07-20 23:43:02.041 Dest file exists. 2025-07-20 23:43:02.041 Time stamp of existing file: 2025-04-09 16:55:18.000 2025-07-20 23:43:02.041 Version of our file: (none) 2025-07-20 23:43:02.042 Version of existing file: (none) 2025-07-20 23:43:02.042 Installing the file. 2025-07-20 23:43:02.042 Successfully installed the file. 2025-07-20 23:43:02.043 -- Registry entry -- 2025-07-20 23:43:02.043 Key: HKEY_CURRENT_USER\Environment 2025-07-20 23:43:02.043 Value name: IDF_TOOLS_PATH 2025-07-20 23:43:02.043 Creating or opening the key. 2025-07-20 23:43:02.043 Deleting the value. 2025-07-20 23:43:02.043 Creating or setting the value. 2025-07-20 23:43:02.043 Successfully created or set the value. 2025-07-20 23:43:02.043 Saving uninstall information. 2025-07-20 23:43:02.043 Renaming uninstaller. 2025-07-20 23:43:02.044 Deleting uninstall key left over from previous non administrative install. 2025-07-20 23:43:02.044 Creating new uninstall key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\{9E068D99-5C4B-4E5F-96A3-B17CF291E6BD}_is1 2025-07-20 23:43:02.044 Writing uninstall key values. 2025-07-20 23:43:02.044 Detected previous administrative 64-bit install? No 2025-07-20 23:43:02.044 Detected previous administrative 32-bit install? No 2025-07-20 23:43:02.047 Installation process succeeded. 2025-07-20 23:43:02.048 Extracting temporary file: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\7za.exe 2025-07-20 23:43:02.076 Checking existence of Embedded Python: D:\Espressif\tools\idf-python\3.11.2\python.exe 2025-07-20 23:43:02.076 Embedded Python found. 2025-07-20 23:43:02.076 Checking existence of Embedded Git: D:\Espressif\tools\idf-git\2.44.0\cmd\git.exe 2025-07-20 23:43:02.076 Embedded Git found. 2025-07-20 23:43:02.076 Setting PATH for this process: D:\Espressif\tools\idf-python\3.11.2\;D:\Espressif\tools\idf-git\2.44.0\cmd\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Bandizip\;C:\Program Files\dotnet\;C:\Program Files\Common Files\Autodesk Shared\;G:\Bypass\Git\cmd;D:\vscode\bin;D:\Python\Scripts\;D:\Python\;C:\Users\林伟新\AppData\Local\Microsoft\WindowsApps;D:\pycharm\PyCharm 2024.3.3\bin;D:\MSYS2\ucrt64\bin;D:\Espressif\tools;D:\Espressif\frameworks\esp-idf-v5.3.1;"set PATH=C:\Windows\system32;D:\Espressif\tools\xtensa-esp-elf\esp-13.2.0_20240530\xtensa-esp-elf\bin";D:\vscode\Microsoft VS Code\bin 2025-07-20 23:43:02.076 PYTHONNOUSERSITE=True 2025-07-20 23:43:02.076 PYTHONPATH= 2025-07-20 23:43:02.076 PYTHONHOME= 2025-07-20 23:43:02.076 Extracting ESP-IDF reference repository: "C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\7za.exe" x "-oC:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp" -r -aoa "D:\Espressif\releases\esp-idf-v5.5-rc1.zip" 2025-07-20 23:43:02.076 Reference repository path: C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\esp-idf-v5.5-rc1 2025-07-20 23:43:19.273 Done, exit code=0 2025-07-20 23:43:19.273 -------- 2025-07-20 23:43:19.273 Running command: "C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\7za.exe" x "-oC:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp" -r -aoa "D:\Espressif\releases\esp-idf-v5.5-rc1.zip" 7-Zip (a) 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21 Scanning the drive for archives: 1 file, 1368864192 bytes (1306 MiB) Extracting archive: D:\Espressif\releases\esp-idf-v5.5-rc1.zip -- Path = D:\Espressif\releases\esp-idf-v5.5-rc1.zip Type = zip Physical Size = 1368864192 Everything is Ok Folders: 5379 Files: 27214 Size: 1704998694 Compressed: 1368864192 2025-07-20 23:43:19.273 -------- 2025-07-20 23:43:19.285 Copying C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\esp-idf-v5.5-rc1 to C:\Espressif\frameworks\esp-idf-v5.5-rc1-7 2025-07-20 23:43:33.916 Done, exit code=0 2025-07-20 23:43:33.916 -------- 2025-07-20 23:43:33.916 Running command: cmd.exe /c ""xcopy.exe" /s /e /i /h /q "C:\Users\林伟新\AppData\Local\Temp\is-OGO2N.tmp\esp-idf-v5.5-rc1" "C:\Espressif\frameworks\esp-idf-v5.5-rc1-7"" 复制了 27214 个文件 2025-07-20 23:43:33.916 -------- 2025-07-20 23:43:33.923 Setting core.fileMode on repository: D:\Espressif\tools\idf-git\2.44.0\cmd\git.exe -C C:\Espressif\frameworks\esp-idf-v5.5-rc1-7 config --local core.fileMode false 2025-07-20 23:43:34.027 Done, exit code=0 2025-07-20 23:43:34.027 -------- 2025-07-20 23:43:34.027 Running command: D:\Espressif\tools\idf-git\2.44.0\cmd\git.exe -C C:\Espressif\frameworks\esp-idf-v5.5-rc1-7 config --local core.fileMode false 2025-07-20 23:43:34.027 -------- 2025-07-20 23:43:34.034 Setting core.fileMode on repository for submodules: D:\Espressif\tools\idf-git\2.44.0\cmd\git.exe -C C:\Espressif\frameworks\esp-idf-v5.5-rc1-7 submodule foreach --recursive git config --local core.fileMode false 2025-07-20 23:43:34.772 Done, exit code=127 2025-07-20 23:43:34.772 -------- 2025-07-20 23:43:34.772 Running command: D:\Espressif\tools\idf-git\2.44.0\cmd\git.exe -C C:\Espressif\frameworks\esp-idf-v5.5-rc1-7 submodule foreach --recursive git config --local core.fileMode false sed: read error on stdin: Bad file descripto D:/Espressif/tools/idf-git/2.44.0/mingw64/libexec/git-core\git-submodule: line 613: cmd_: command not foun 2025-07-20 23:43:34.772 -------- 2025-07-20 23:43:34.772 Message box (OK): 安装过程遇到错误(可能并不严重)。 退出代码: 127 2025-07-20 23:43:44.070 User chose OK. 2025-07-20 23:43:44.080 Resetting the repository: D:\Espressif\tools\idf-git\2.44.0\cmd\git.exe -C C:\Espressif\frameworks\esp-idf-v5.5-rc1-7 reset --hard 2025-07-20 23:43:49.481 Done, exit code=0 2025-07-20 23:43:49.481 -------- 2025-07-20 23:43:49.481 Running command: D:\Espressif\tools\idf-git\2.44.0\cmd\git.exe -C C:\Espressif\frameworks\esp-idf-v5.5-rc1-7 reset --hard Updating files: 100% (17512/17512), done HEAD is now at 8f9b49f7c change(version): Update version to 5.5. 2025-07-20 23:43:49.481 -------- 2025-07-20 23:43:49.495 Resetting the submodules: D:\Espressif\tools\idf-git\2.44.0\cmd\git.exe -C C:\Espressif\frameworks\esp-idf-v5.5-rc1-7 submodule foreach git reset --hard 2025-07-20 23:43:54.063 Done, exit code=0 2025-07-20 23:43:54.063 -------- 2025-07-20 23:43:54.063 Running command: D:\Espressif\tools\idf-git\2.44.0\cmd\git.exe -C C:\Espressif\frameworks\esp-idf-v5.5-rc1-7 submodule foreach git reset --hard Entering 'components/bootloader/subproject/components/micro-ecc/micro-ecc HEAD is now at 24c60e2 Add test vector for ECDSA secp256k Entering 'components/bt/controller/lib_esp32 HEAD is now at 6d007b7 change(bt): Update bt lib for ESP32(b992c7 Entering 'components/bt/controller/lib_esp32c2/esp32c2-bt-lib HEAD is now at 3ad0070 change(ble): [AUTO_MR] Update lib_esp32c2 to 7f72c03 Entering 'components/bt/controller/lib_esp32c3_family HEAD is now at 3ff5291 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(4713a69 Entering 'components/bt/controller/lib_esp32c5/esp32c5-bt-lib HEAD is now at 40a1921 change(ble): [AUTO_MR] Update lib_esp32c5 to 35fe65f Entering 'components/bt/controller/lib_esp32c6/esp32c6-bt-lib HEAD is now at 250e751 change(ble): [AUTO_MR] Update lib_esp32c6 to 35fe65f Entering 'components/bt/controller/lib_esp32h2/esp32h2-bt-lib HEAD is now at 82cbc1d change(ble): [AUTO_MR] Update lib_esp32h2 to 35fe65f Entering 'components/bt/esp_ble_mesh/lib/lib HEAD is now at d9fe7de Merge branch 'update/lib_update_to_f15b27e2d2_v5.5_v6.0' into 'main Entering 'components/bt/host/nimble/nimble HEAD is now at cc3ac541 fix(nimble): Fix compile errors when CSFCS or BONDS are Entering 'components/cmock/CMock HEAD is now at eeecc49 Merge pull request #312 from Skinner927/patch- Entering 'components/esp_coex/lib HEAD is now at c62361f fix(coex): add wifi event imm (831ec703 Entering 'components/esp_phy/lib HEAD is now at f6746ce update c5 libphy for coex problem Entering 'components/esp_wifi/lib HEAD is now at 61cdea8d fix(wifi): fix 11a rate index and twt sleep issue(7ae8ae99 Entering 'components/heap/tlsf HEAD is now at 2867f68 Merge branch 'fix/pointer-compatibility-64bit-target' into 'idf Entering 'components/json/cJSON HEAD is now at 8f2beb5 bump version of actions/upload-artifac Entering 'components/lwip/lwip HEAD is now at ebabd6d7 ip6: add some unit test cases for ip6 forwardin Entering 'components/mbedtls/mbedtls HEAD is now at 98ae8db06 fix(mbedtls): set RSA padding only when DS peripheral is configured Entering 'components/mqtt/esp-mqtt HEAD is now at cac1552 Merge branch 'fix/analyzer-unknown-pragma-warning' into 'master Entering 'components/openthread/lib HEAD is now at 4594483 feat(br): update thread-lib for esp32p4 and OT upstream ec2b0d48 Entering 'components/openthread/openthread Updating files: 100% (3905/3905), done HEAD is now at ec2b0d487 [trel] use `LinkedList` for TREL peer tracking (#11476 Entering 'components/protobuf-c/protobuf-c HEAD is now at abc67a1 ChangeLog: 1.4. Entering 'components/spiffs/spiffs HEAD is now at 0dbb3f7 Merge pull request #288 from igrr/bugfix/spiffs_readdir_errcod Entering 'components/unity/unity HEAD is now at bf56029 Merge pull request #656 from ThrowTheSwitch/platform_matri 2025-07-20 23:43:54.063 -------- 2025-07-20 23:43:56.189 Checking whether file exists C:\Espressif\frameworks\esp-idf-v5.5-rc1-7\tools\idf_tools.py 2025-07-20 23:43:56.189 idf_tools.py exists in IDF directory 2025-07-20 23:43:56.189 Adding extra Python wheels location. Setting environment variable PIP_EXTRA_INDEX_URL=https://dl.espressif.com/pypi 2025-07-20 23:43:56.189 idf_tools.py command: D:\Espressif\tools\idf-python\3.11.2\python.exe "C:\Espressif\frameworks\esp-idf-v5.5-rc1-7\tools\idf_tools.py" "--idf-path" "C:\Espressif\frameworks\esp-idf-v5.5-rc1-7" 2025-07-20 23:43:56.189 Selection of targets testing command: D:\Espressif\tools\idf-python\3.11.2\python.exe "C:\Espressif\frameworks\esp-idf-v5.5-rc1-7\tools\idf_tools.py" install --targets="" 2025-07-20 23:43:56.407 Selection of targets: Supported 2025-07-20 23:43:56.407 Installing tools:D:\Espressif\tools\idf-python\3.11.2\python.exe "C:\Espressif\frameworks\esp-idf-v5.5-rc1-7\tools\idf_tools.py" "--idf-path" "C:\Espressif\frameworks\esp-idf-v5.5-rc1-7" install --targets=esp32,esp32-c3,esp32-c6,esp32-s3,esp32-s2,esp32-p4 2025-07-20 23:44:02.745 Done, exit code=1 2025-07-20 23:44:02.745 -------- 2025-07-20 23:44:02.745 Running command: D:\Espressif\tools\idf-python\3.11.2\python.exe "C:\Espressif\frameworks\esp-idf-v5.5-rc1-7\tools\idf_tools.py" "--idf-path" "C:\Espressif\frameworks\esp-idf-v5.5-rc1-7" install --targets=esp32,esp32-c3,esp32-c6,esp32-s3,esp32-s2,esp32-p4 Updating D:\Espressif\idf-env.json Selected targets are: esp32s3, esp32c6, esp32s2, esp32p4, esp32c3, esp32 Current system platform: win64 Installing tools: xtensa-esp-elf-gdb, riscv32-esp-elf-gdb, xtensa-esp-elf, riscv32-esp-elf, esp32ulp-elf, cmake, openocd-esp32, ninja, idf-exe, ccache, dfu-util, esp-rom-elfs Skipping [email protected]_20250324 (already installed) Skipping [email protected]_20250324 (already installed) Skipping [email protected]_20241119 (already installed) Skipping [email protected]_20241119 (already installed) Skipping [email protected]_20240113 (already installed) Skipping [email protected] (already installed) Skipping [email protected] (already installed) Skipping [email protected] (already installed) Skipping [email protected] (already installed) Installing [email protected] Using GitHub assets mirror for URL: https://github.com/ccache/ccache/releases/download/v4.10.2/ccache-4.10.2-windows-x86_64.zip => https://dl.espressif.com/github_assets/ccache/ccache/releases/download/v4.10.2/ccache-4.10.2-windows-x86_64.zip file ccache-4.10.2-windows-x86_64.zip is already downloaded Extracting D:\Espressif\dist\ccache-4.10.2-windows-x86_64.zip to D:\Espressif\tools\ccache\4.10.2 ERROR: Failed to check the tool while installed. Removing directory D:\Espressif\tools\ccache\4.10.2 2025-07-20 23:44:02.745 -------- 2025-07-20 23:44:02.745 Message box (OK): 安装过程遇到错误(可能并不严重)。 退出代码: 1 2025-07-20 23:45:22.742 User chose OK. 2025-07-20 23:45:22.752 Message box (Yes/No): 已创建安装日志,其中可能包含有关该问题的详细信息。 是否需要查看安装日志? 2025-07-20 23:45:28.017 User chose Yes. 2025-07-20 23:45:28.053 CurStepChanged raised an exception. Windows安装过程中错误的log,我希望有解决方法

filetype

您好,我在根据CSDN的MediaPipe的安装详细过程(网址为https://blog.csdn.net/last5minutes/article/details/144424086?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ECtr-1-144424086-blog-120825352.235%5Ev43%5Epc_blog_bottom_relevance_base8&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ECtr-1-144424086-blog-120825352.235%5Ev43%5Epc_blog_bottom_relevance_base8&utm_relevant_index=1) 在第七步【Bazel构建并运行Hello World! in C++ 示例】中,在cmd中输入了【bazel --output_user_root="D:\\Caches\\Bazel" build -c opt --define MEDIAPIPE_DISABLE_GPU=1 --action_env PYTHON_BIN_PATH="C:\\Program Files\\Python312\\\python.exe" mediapipe/examples/desktop/hello_world】 但给出的回应是:PS E:\MediaPipeFolder\mediapipe> bazel --output_user_root="D:\\Caches\\Bazel" build -c opt --define MEDIAPIPE_DISABLE_GPU=1 --action_env PYTHON_BIN_PATH="C:\\Program Files\\Python312\\\python.exe" mediapipe/examples/desktop/hello_world WARNING: Target pattern parsing failed. ERROR: Skipping 'mediapipe/examples/desktop/hello_world': error loading package 'mediapipe/examples/desktop/hello_world': Unable to find package for @@[unknown repo 'rules_cc' requested from @@]//cc:cc_binary.bzl: The repository '@@[unknown repo 'rules_cc' requested from @@]' could not be resolved: No repository visible as '@rules_cc' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration. ERROR: error loading package 'mediapipe/examples/desktop/hello_world': Unable to find package for @@[unknown repo 'rules_cc' requested from @@]//cc:cc_binary.bzl: The repository '@@[unknown repo 'rules_cc' requested from @@]' could not be resolved: No repository visible as '@rules_cc' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration. INFO: Elapsed time: 0.214s INFO: 0 processes. ERROR: Build did NOT complete successfully PS E:\MediaPipeFolder\mediapipe> 不知道我这边出了什么问题呢?您有什么办法解决这个问题嘛?

filetype

import argparse import os import sys import numpy as np import json import torch from PIL import Image sys.path.append(os.path.join(os.getcwd(), "GroundingDINO")) sys.path.append(os.path.join(os.getcwd(), "segment_anything")) # Grounding DINO import GroundingDINO.groundingdino.datasets.transforms as T from GroundingDINO.groundingdino.models import build_model from GroundingDINO.groundingdino.util.slconfig import SLConfig from GroundingDINO.groundingdino.util.utils import clean_state_dict, get_phrases_from_posmap # segment anything from segment_anything import sam_model_registry import cv2 import numpy as np import matplotlib.pyplot as plt def load_image(image_path): # load image image_pil = Image.open(image_path).convert("RGB") # load image transform = T.Compose( [ T.RandomResize([800], max_size=1333), T.ToTensor(), T.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225]), ] ) image, _ = transform(image_pil, None) # 3, h, w return image_pil, image def load_model(model_config_path, model_checkpoint_path, bert_base_uncased_path, device): args = SLConfig.fromfile(model_config_path) args.device = device args.bert_base_uncased_path = bert_base_uncased_path model = build_model(args) checkpoint = torch.load(model_checkpoint_path, map_location="cpu") load_res = model.load_state_dict(clean_state_dict(checkpoint["model"]), strict=False) print(load_res) _ = model.eval() return model def get_grounding_output(model, image, caption, box_threshold, text_threshold, with_logits=True, device="cpu"): caption = caption.lower() caption = caption.strip() if not caption.endswith("."): caption = caption + "." model = model.to(device) image = image.to(device) with torch.no_grad(): outputs = model(image[None], captions=[caption]) logits = outputs["pred_logits"].cpu().sigmoid()[0] # (nq, 256) boxes = outputs["pred_boxes"].cpu()[0] # (nq, 4) logits.shape[0] # filter output logits_filt = logits.clone() boxes_filt = boxes.clone() filt_mask = logits_filt.max(dim=1)[0] > box_threshold logits_filt = logits_filt[filt_mask] # num_filt, 256 boxes_filt = boxes_filt[filt_mask] # num_filt, 4 logits_filt.shape[0] # get phrase tokenlizer = model.tokenizer tokenized = tokenlizer(caption) # build pred pred_phrases = [] for logit, box in zip(logits_filt, boxes_filt): pred_phrase = get_phrases_from_posmap(logit > text_threshold, tokenized, tokenlizer) if with_logits: pred_phrases.append(pred_phrase + f"({str(logit.max().item())[:4]})") else: pred_phrases.append(pred_phrase) return boxes_filt, pred_phrases def show_mask(mask, ax, random_color=False): if random_color: color = np.concatenate([np.random.random(3), np.array([0.6])], axis=0) else: color = np.array([30/255, 144/255, 255/255, 0.6]) h, w = mask.shape[-2:] mask_image = mask.reshape(h, w, 1) * color.reshape(1, 1, -1) ax.imshow(mask_image) def show_box(box, ax, label): x0, y0 = box[0], box[1] w, h = box[2] - box[0], box[3] - box[1] ax.add_patch(plt.Rectangle((x0, y0), w, h, edgecolor='green', facecolor=(0,0,0,0), lw=2)) ax.text(x0, y0, label) def save_mask_data(output_dir, mask_list, box_list, label_list): value = 0 # 0 for background mask_img = torch.zeros(mask_list.shape[-2:]) for idx, mask in enumerate(mask_list): mask_img[mask.cpu().numpy()[0] == True] = value + idx + 1 plt.figure(figsize=(10, 10)) plt.imshow(mask_img.numpy()) plt.axis('off') plt.savefig(os.path.join(output_dir, 'mask.jpg'), bbox_inches="tight", dpi=300, pad_inches=0.0) json_data = [{ 'value': value, 'label': 'background' }] for label, box in zip(label_list, box_list): value += 1 name, logit = label.split('(') logit = logit[:-1] # the last is ')' json_data.append({ 'value': value, 'label': name, 'logit': float(logit), 'box': box.numpy().tolist(), }) with open(os.path.join(output_dir, 'mask.json'), 'w') as f: json.dump(json_data, f) if __name__ == "__main__": parser = argparse.ArgumentParser("Grounded-Segment-Anything Demo", add_help=True) parser.add_argument("--config", type=str, default="./GroundingDINO/groundingdino/config/GroundingDINO_SwinT_OGC.py", help="path to config file") parser.add_argument( "--grounded_checkpoint", type=str, default="./groundingdino_swint_ogc.pth", help="path to checkpoint file" ) parser.add_argument( "--sam_version", type=str, default="vit_h", required=False, help="SAM ViT version: vit_b / vit_l / vit_h" ) parser.add_argument( "--sam_checkpoint", type=str, default="./sam_vit_h_4b8939.pth", help="path to sam checkpoint file" ) parser.add_argument( "--sam_hq_checkpoint", type=str, default=None, help="path to sam-hq checkpoint file" ) parser.add_argument( "--use_sam_hq", action="store_true", help="using sam-hq for prediction" ) parser.add_argument("--input_image", type=str, required=True, help="path to image file") parser.add_argument("--text_prompt", type=str, required=True, help="text prompt") parser.add_argument( "--output_dir", "-o", type=str, default="./outputs", help="output directory" ) parser.add_argument("--box_threshold", type=float, default=0.3, help="box threshold") parser.add_argument("--text_threshold", type=float, default=0.25, help="text threshold") parser.add_argument("--device", type=str, default="cpu", help="running on cpu only!, default=False") parser.add_argument("--bert_base_uncased_path", type=str, required=False, help="bert_base_uncased model path, default=False") args = parser.parse_args() # cfg config_file = args.config # change the path of the model config file grounded_checkpoint = args.grounded_checkpoint # change the path of the model sam_version = args.sam_version sam_checkpoint = args.sam_checkpoint sam_hq_checkpoint = args.sam_hq_checkpoint use_sam_hq = args.use_sam_hq image_path = args.input_image text_prompt = args.text_prompt output_dir = args.output_dir box_threshold = args.box_threshold text_threshold = args.text_threshold device = args.device bert_base_uncased_path = args.bert_base_uncased_path # make dir os.makedirs(output_dir, exist_ok=True) # load image image_pil, image = load_image(image_path) # load model model = load_model(config_file, grounded_checkpoint, bert_base_uncased_path, device=device) # visualize raw image image_pil.save(os.path.join(output_dir, "raw_image.jpg")) # run grounding dino model boxes_filt, pred_phrases = get_grounding_output( model, image, text_prompt, box_threshold, text_threshold, device=device ) # initialize SAM if use_sam_hq: predictor = SamPredictor(sam_model_registry[sam_version](checkpoint=sam_hq_checkpoint).to(device)) else: predictor = SamPredictor(sam_model_registry[sam_version](checkpoint=sam_checkpoint).to(device)) image = cv2.imread(image_path) image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB) predictor.set_image(image) size = image_pil.size H, W = size[1], size[0] for i in range(boxes_filt.size(0)): boxes_filt[i] = boxes_filt[i] * torch.Tensor([W, H, W, H]) boxes_filt[i][:2] -= boxes_filt[i][2:] / 2 boxes_filt[i][2:] += boxes_filt[i][:2] boxes_filt = boxes_filt.cpu() transformed_boxes = predictor.transform.apply_boxes_torch(boxes_filt, image.shape[:2]).to(device) masks, _, _ = predictor.predict_torch( point_coords = None, point_labels = None, boxes = transformed_boxes.to(device), multimask_output = False, ) # draw output image plt.figure(figsize=(10, 10)) plt.imshow(image) for mask in masks: show_mask(mask.cpu().numpy(), plt.gca(), random_color=True) for box, label in zip(boxes_filt, pred_phrases): show_box(box.numpy(), plt.gca(), label) plt.axis('off') plt.savefig( os.path.join(output_dir, "grounded_sam_output.jpg"), bbox_inches="tight", dpi=300, pad_inches=0.0 ) save_mask_data(output_dir, masks, boxes_filt, pred_phrases) 运行时报错 C:\Users\29386\.conda\envs\grounded_sam\python.exe C:\Users\29386\segment-anything\Grounded-Segment-Anything\grounded_sam_demo.py --config GroundingDINO/groundingdino/config/GroundingDINO_SwinT_OGC.py --grounded_checkpoint weights/groundingdino_swint_ogc.pth --sam_checkpoint weights/sam_vit_h_4b8939.pth --input_image assets/demo1.jpg --output_dir outputs --text_prompt cat C:\Users\29386\.conda\envs\grounded_sam\lib\site-packages\timm\models\layers\__init__.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", FutureWarning) C:\Users\29386\.conda\envs\grounded_sam\lib\site-packages\torch\functional.py:513: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\TensorShape.cpp:3610.) return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined] final text_encoder_type: bert-base-uncased C:\Users\29386\.conda\envs\grounded_sam\lib\site-packages\huggingface_hub\file_download.py:143: UserWarning: `huggingface_hub` cache-system uses symlinks by default to efficiently store duplicated files but your machine does not support them in C:\Users\29386\.cache\huggingface\hub\models--bert-base-uncased. Caching files will still work but in a degraded version that might require more space on your disk. This warning can be disabled by setting the `HF_HUB_DISABLE_SYMLINKS_WARNING` environment variable. For more details, see https://huggingface.co/docs/huggingface_hub/how-to-cache#limitations. To support symlinks on Windows, you either need to activate Developer Mode or to run Python as an administrator. In order to activate developer mode, see this article: https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development warnings.warn(message) Xet Storage is enabled for this repo, but the 'hf_xet' package is not installed. Falling back to regular HTTP download. For better performance, install the package with: `pip install huggingface_hub[hf_xet]` or `pip install hf_xet` C:\Users\29386\segment-anything\Grounded-Segment-Anything\grounded_sam_demo.py:47: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature. checkpoint = torch.load(model_checkpoint_path, map_location="cpu") Traceback (most recent call last): File "C:\Users\29386\segment-anything\Grounded-Segment-Anything\grounded_sam_demo.py", line 187, in <module> model = load_model(config_file, grounded_checkpoint, bert_base_uncased_path, device=device) File "C:\Users\29386\segment-anything\Grounded-Segment-Anything\grounded_sam_demo.py", line 47, in load_model checkpoint = torch.load(model_checkpoint_path, map_location="cpu") File "C:\Users\29386\.conda\envs\grounded_sam\lib\site-packages\torch\serialization.py", line 1065, in load with _open_file_like(f, 'rb') as opened_file: File "C:\Users\29386\.conda\envs\grounded_sam\lib\site-packages\torch\serialization.py", line 468, in _open_file_like return _open_file(name_or_buffer, mode) File "C:\Users\29386\.conda\envs\grounded_sam\lib\site-packages\torch\serialization.py", line 449, in __init__ super().__init__(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: 'weights/groundingdino_swint_ogc.pth' 如何在windows系统上解决问题

filetype

[2025-07-31 02:11:27] [INFO] 尝试 1/5: 直接下载镜像 quay.mirrors.ustc.edu.cn/coreos/flannel:v0.22.0 Error: Get "https://quay.mirrors.ustc.edu.cn/v2/": dial tcp: lookup quay.mirrors.ustc.edu.cn on 223.5.5.5:53: no such host [2025-07-31 02:11:30] [INFO] 尝试 2/5: 直接下载镜像 quay.mirrors.ustc.edu.cn/coreos/flannel:v0.22.0 Error: Get "https://quay.mirrors.ustc.edu.cn/v2/": dial tcp: lookup quay.mirrors.ustc.edu.cn on 223.5.5.5:53: no such host [2025-07-31 02:11:37] [INFO] 尝试 3/5: 直接下载镜像 quay.mirrors.ustc.edu.cn/coreos/flannel:v0.22.0 Error: Get "https://quay.mirrors.ustc.edu.cn/v2/": dial tcp: lookup quay.mirrors.ustc.edu.cn on 223.5.5.5:53: no such host [2025-07-31 02:11:46] [INFO] 尝试 4/5: 直接下载镜像 quay.mirrors.ustc.edu.cn/coreos/flannel:v0.22.0 Error: Get "https://quay.mirrors.ustc.edu.cn/v2/": dial tcp: lookup quay.mirrors.ustc.edu.cn on 223.5.5.5:53: no such host [2025-07-31 02:11:59] [INFO] 尝试 5/5: 直接下载镜像 quay.mirrors.ustc.edu.cn/coreos/flannel:v0.22.0 Error: Get "https://quay.mirrors.ustc.edu.cn/v2/": dial tcp: lookup quay.mirrors.ustc.edu.cn on 223.5.5.5:53: no such host [2025-07-31 02:12:14] [ERROR] 直接下载镜像 quay.mirrors.ustc.edu.cn/coreos/flannel:v0.22.0 失败 (重试 5 次) [2025-07-31 02:12:14] [ERROR] 镜像下载失败: quay.mirrors.ustc.edu.cn/coreos/flannel:v0.22.0 [2025-07-31 02:12:14] [WARN] 镜像下载失败: quay.mirrors.ustc.edu.cn/coreos/flannel:v0.22.0 [2025-07-31 02:12:14] [INFO] 使用 crane 直接下载镜像: docker.io/flannelcni/flannel:v0.22.0 [2025-07-31 02:12:14] [INFO] 尝试 1/5: 直接下载镜像 docker.io/flannelcni/flannel:v0.22.0 Error: Get "https://index.docker.io/v2/": dial tcp 128.121.146.228:443: connect: connection refused [2025-07-31 02:12:38] [INFO] 尝试 2/5: 直接下载镜像 docker.io/flannelcni/flannel:v0.22.0 Error: Get "https://index.docker.io/v2/": dial tcp 128.121.146.228:443: connect: connection refused [2025-07-31 02:13:06] [INFO] 尝试 3/5: 直接下载镜像 docker.io/flannelcni/flannel:v0.22.0 Error: Get "https://index.docker.io/v2/": dial tcp 31.13.87.19:443: connect: connection refused [2025-07-31 02:13:36] [INFO] 尝试 4/5: 直接下载镜像 docker.io/flannelcni/flannel:v0.22.0 Error: Get "https://index.docker.io/v2/": dial tcp 31.13.87.19:443: connect: connection refused [2025-07-31 02:14:09] [INFO] 尝试 5/5: 直接下载镜像 docker.io/flannelcni/flannel:v0.22.0 Error: Get "https://index.docker.io/v2/": dial tcp 69.63.178.13:443: connect: connection refused [2025-07-31 02:14:45] [ERROR] 直接下载镜像 docker.io/flannelcni/flannel:v0.22.0 失败 (重试 5 次) [2025-07-31 02:14:46] [ERROR] 镜像下载失败: docker.io/flannelcni/flannel:v0.22.0 [2025-07-31 02:14:46] [WARN] 镜像下载失败: docker.io/flannelcni/flannel:v0.22.0 [2025-07-31 02:14:46] [WARN] 以下镜像下载失败: [2025-07-31 02:14:46] [WARN] - quay.mirrors.ustc.edu.cn/coreos/flannel:v0.22.0 [2025-07-31 02:14:46] [WARN] - docker.io/flannelcni/flannel:v0.22.0 [2025-07-31 02:14:46] [WARN] 请手动下载或检查网络连接 [2025-07-31 02:14:46] [INFO] ===== 下载系统优化工具 ===== [2025-07-31 02:14:46] [INFO] 工具已存在,跳过下载: cheat-linux-amd64.gz [2025-07-31 02:14:46] [INFO] 工具已存在,跳过下载: btop-x86_64-linux-musl.tbz [2025-07-31 02:14:46] [INFO] 工具已存在,跳过下载: bottom_x86_64-unknown-linux-gnu.tar.gz [2025-07-31 02:14:46] [INFO] 工具已存在,跳过下载: fd-v8.7.1-x86_64-unknown-linux-gnu.tar.gz [2025-07-31 02:14:46] [INFO] 尝试 1/5: 下载 bat-v0.24.0-x86极-unknown-linux-gnu.tar.gz #=O#- # # curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to ghproxy.com:443 根据错误重新生成完整、有效、可用的下载脚本、离线部署脚本、服务器系统优化脚本,并且包含系统依赖脚本,脚本要求可以重复执行。

filetype
CH341A编程器是一款广泛应用的通用编程设备,尤其在电子工程和嵌入式系统开发领域中,它被用来烧录各种类型的微控制器、存储器和其他IC芯片。这款编程器的最新版本为1.3,它的一个显著特点是增加了对25Q256等32M芯片的支持。 25Q256是一种串行EEPROM(电可擦可编程只读存储器)芯片,通常用于存储程序代码、配置数据或其他非易失性信息。32M在这里指的是存储容量,即该芯片可以存储32兆位(Mbit)的数据,换算成字节数就是4MB。这种大容量的存储器在许多嵌入式系统中都有应用,例如汽车电子、工业控制、消费电子设备等。 CH341A编程器的1.3版更新,意味着它可以与更多的芯片型号兼容,特别是针对32M容量的芯片进行了优化,提高了编程效率和稳定性。26系列芯片通常指的是Microchip公司的25系列SPI(串行外围接口)EEPROM产品线,这些芯片广泛应用于各种需要小体积、低功耗和非易失性存储的应用场景。 全功能版的CH341A编程器不仅支持25Q256,还支持其他大容量芯片,这意味着它具有广泛的兼容性,能够满足不同项目的需求。这包括但不限于微控制器、EPROM、EEPROM、闪存、逻辑门电路等多种类型芯片的编程。 使用CH341A编程器进行编程操作时,首先需要将设备通过USB连接到计算机,然后安装相应的驱动程序和编程软件。在本例中,压缩包中的"CH341A_1.30"很可能是编程软件的安装程序。安装后,用户可以通过软件界面选择需要编程的芯片类型,加载待烧录的固件或数据,然后执行编程操作。编程过程中需要注意的是,确保正确设置芯片的电压、时钟频率等参数,以防止损坏芯片。 CH341A编程器1.3版是面向电子爱好者和专业工程师的一款实用工具,其强大的兼容性和易用性使其在众多编程器中脱颖而出。对于需要处理25Q256等32M芯片的项目,或者26系列芯片的编程工作,CH341A编程器是理想的选择。通过持续的软件更新和升级,它保持了与现代电子技术同步,确保用户能方便地对各种芯片进行编程和调试。
m0_72731342
  • 粉丝: 4
上传资源 快速赚钱