From de9fee4682e6dc6901e784089a3bc3794405ec9c Mon Sep 17 00:00:00 2001 From: evilbeast Date: Thu, 1 Sep 2022 09:22:21 +0800 Subject: [PATCH] =?UTF-8?q?FAQ=E6=B7=BB=E5=8A=A0WeChatVersionNotMatchError?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/FAQ.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/FAQ.md b/docs/FAQ.md index 6943df3..f242d48 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -1,3 +1,11 @@ +## WeChatVersionNotMatchError异常 +如果出现`ntchat.exception.WeChatVersionNotMatchError`异常, 请确认是否安装github上指定的微信版本,如果确认已经安装,还是报错,可以在代码中添加以下代码,跳过微信版本检测 +```python +import ntchat +ntchat.set_wechat_exe_path(wechat_version='3.6.0.18') +``` + + ## 如何多开 新建多个ntchat.WeChat实例,然后调用open方法: