cluic / wxauto

Windows版本微信客户端(非网页版)自动化,可实现简单的发送、接收微信消息,简单微信机器人
MIT License
2.97k stars 478 forks source link

ImportError: DLL load failed: 找不到指定的模块。 #19

Open zyh530 opened 2 years ago

cluic commented 2 years ago

更新一下uiautomation包 或者在这里手动下载替换掉原本的uiautomation.py

zhiwzhao commented 2 years ago

UIautomation 2,0,16 也手动替换了py文件。 在win7下,pyhton3.7 仍然报错 item 2 in argtypes passes a union by value, which is unsupported. Can not load UIAutomationCore.dll. 1, You may need to install Windows Update KB971513 if your OS is Windows XP, see https://github.com/yinkaisheng/WindowsUpdateKB971513ForIUIAutomation 2, you need to use an UIAutomationInitializerInThread object if use uiautomation in a thread, see demos/uiautomation_in_thread.py

invisibleaccount commented 2 years ago

UIautomation在python3.7.6、3.8.1等部分版本用不了,我之前用的3.8.1跟你报的一模一样的错,换成python3.6.10去运行就解决了

Pokoai commented 2 years ago

我也遇到了同样问题,解决方案在这里:https://blog.csdn.net/weixin_42723246/article/details/126093294?spm=1001.2014.3001.5501