WeChatRobot icon indicating copy to clipboard operation
WeChatRobot copied to clipboard

打包时提示缺少sdk.dll

Open NiBuLiHai opened this issue 1 year ago • 1 comments

C:\Users\Administrator\Desktop\WeChatRobot-39.2.4.0\新建文件夹\main>main 2024-10-02 21:43:07 wcferry version: 39.2.4.0 Traceback (most recent call last): File "PyInstaller\loader\pyimod03_ctypes.py", line 53, in init File "ctypes_init_.py", line 379, in init FileNotFoundError: Could not find module 'C:\Users\Administrator\Desktop\WeChatRobot-39.2.4.0\新建文件夹\main_internal\wcferry\sdk.dll' (or one of its dependencies). Try using the full path with constructor syntax.

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

Traceback (most recent call last): File "main.py", line 66, in File "main.py", line 31, in main File "wcferry\client.py", line 80, in init File "ctypes_init_.py", line 460, in LoadLibrary File "PyInstaller\loader\pyimod03_ctypes.py", line 55, in init pyimod03_ctypes.install..PyInstallerImportError: Failed to load dynlib/dll 'C:\Users\Administrator\Desktop\WeChatRobot-39.2.4.0\新建文件夹\main\_internal\wcferry/sdk.dll'. Most likely this dynlib/dll was not found when the application was frozen. [PYI-7928:ERROR] Failed to execute script 'main' due to unhandled exception!

C:\Users\Administrator\Desktop\WeChatRobot-39.2.4.0\新建文件夹\main>

NiBuLiHai avatar Oct 02 '24 13:10 NiBuLiHai

WeChatFerry 项目的 releases 的zip文件里 有sdk.dll 估计是你需要的

parvparv avatar Feb 21 '25 05:02 parvparv