Skip to content

🚨 [CRITICAL] 源码运行 2.3.0 缺少核心 DLL,无法启动 #139

Description

@junzcert-alt
Image

Image 点击调试运行时候,系统报错无法运行:C:\Users\huice.local\bin\uv.exe run D:/project/PyProjects/WeChatDataAnalysis-2.3.0/WeChatDataAnalysis-2.3.0/.venv/Scripts/python.exe D:\project\PyProjects\WeChatDataAnalysis-2.3.0\WeChatDataAnalysis-2.3.0\main.py
Traceback (most recent call last):
File "D:\project\PyProjects\WeChatDataAnalysis-2.3.0\WeChatDataAnalysis-2.3.0\src\wechat_decrypt_tool\native_core_client.py", line 1670, in _require_native_core_entrypoint_file
resolved = path.resolve(strict=True)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\huice\AppData\Roaming\uv\python\cpython-3.11-windows-x86_64-none\Lib\pathlib.py", line 993, in resolve
s = os.path.realpath(self, strict=strict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 664, in realpath
FileNotFoundError: [WinError 2] 系统找不到指定的文件。: 'D:\project\PyProjects\WeChatDataAnalysis-2.3.0\WeChatDataAnalysis-2.3.0\src\wechat_decrypt_tool\native\wechatdb_client.dll'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "D:\project\PyProjects\WeChatDataAnalysis-2.3.0\WeChatDataAnalysis-2.3.0\main.py", line 87, in
main()
File "D:\project\PyProjects\WeChatDataAnalysis-2.3.0\WeChatDataAnalysis-2.3.0\main.py", line 35, in main
configure_native_core_entrypoint()
File "D:\project\PyProjects\WeChatDataAnalysis-2.3.0\WeChatDataAnalysis-2.3.0\src\wechat_decrypt_tool\native_core_client.py", line 1719, in configure_native_core_entrypoint
library_path = _require_native_core_entrypoint_file(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\project\PyProjects\WeChatDataAnalysis-2.3.0\WeChatDataAnalysis-2.3.0\src\wechat_decrypt_tool\native_core_client.py", line 1673, in _require_native_core_entrypoint_file
raise NativeCoreComponentMissingError(
wechat_decrypt_tool.native_core_client.NativeCoreComponentMissingError: Required wechatdb native component is missing: D:\project\PyProjects\WeChatDataAnalysis-2.3.0\WeChatDataAnalysis-2.3.0\src\wechat_decrypt_tool\native\wechatdb_client.dll

指定的dll文件没有找到,### 已尝试的解决方法

  1. 从 WeChatDataAnalysis-2.3.0-Setup.exe 安装目录复制 native 文件夹到源码目录
  2. 复制到 .venv/Lib/site-packages/wechat_decrypt_tool/native/
  3. 设置环境变量 WECHAT_TOOL_NATIVE_CORE_ALLOW_DEVELOPMENT_BUILD=1
  4. 修改 native_core_client.py 跳过版本检查

问题

  1. wechatdb_client.dll 的官方获取方式是什么?

    • 是否应该通过 desktop/npm install 自动下载?
    • 还是需要从 Release 安装包手动提取?
  2. 源码运行的正确流程是什么?

    • README 中提到的 uv sync --no-editable 是否会自动处理 DLL?
    • 是否需要先运行 desktop/npm run dev 来生成 DLL?
  3. 开发版 DLL 和生产版 DLL 的区别

    • 从安装包复制的 DLL 是生产版本,源码运行报错 Source WeChatDataAnalysis on Windows requires the exact restricted source-public native core
    • 是否有专门的开发版 DLL?如何获取?
  4. npm run dev 在 desktop 目录下报错

期望的帮助

  1. 官方推荐的源码运行方式
  2. wechatdb_client.dll 的正确获取渠道
  3. 是否需要申请特定的开发版 DLL
  4. 如果有开发版 DLL,是否公开还是需要单独申请

相关日志:2026-09-03T10_27_50_928Z-debug-0.log

相关系统配置信息:01_错误信息.txt

02_环境信息.txt

04_native目录结构.txt

补充说明

我理解 wechatdb_client.dll 是项目的核心组件,涉及到微信数据库的解密功能。如果这些 DLL 文件不公开,或者需要特定的授权才能获取,请告知具体的申请流程。

感谢开发者的工作,期待回复!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions