python-wechaty-getting-started icon indicating copy to clipboard operation
python-wechaty-getting-started copied to clipboard

Wechaty 运行报错求助 - puppet not found

Open sunyidi123 opened this issue 4 years ago • 1 comments

运行报错截图如下 image 寻求帮助!

sunyidi123 avatar Apr 10 '21 09:04 sunyidi123

我的代码 `from wechaty import ( Contact, FileBox, Message, Wechaty, ScanStatus, Room ) from typing import List, Optional from wechaty_puppet.schemas.contact import ContactQueryFilter from wechaty_puppet import ( # type: ignore get_logger, Puppet, )

async def on_message(msg: Message): talkername = msg.talker() contacts: Optional[Contact] = await Contact.find(talkername.name) print(contacts)`

sunyidi123 avatar Apr 10 '21 09:04 sunyidi123