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

[Bug]: ImportError: cannot import name 'AsyncIOEventEmitter' from 'pyee'

Open WingZhe opened this issue 1 year ago • 1 comments

Environment

- wechaty:0.10.7
- wechaty-puppet: 
- wechaty-puppet-service: 
- wechaty-plugin-contrib: 
- token type: padlocal|wxwork|xp
- the version of wechaty docker container: [0.65]

Description

pyee的引入有问题

Minimum reproducible code

1727406273549 from pyee import AsyncIOEventEmitter 要修改为 from pyee.asyncio import AsyncIOEventEmitter

WingZhe avatar Sep 27 '24 03:09 WingZhe

他们开发团队没有解决该问题前,可以临时设置版本号:

wechaty
urllib3<2.0.0
pyee<9.0.0

MengDanzz avatar Sep 28 '24 05:09 MengDanzz