wechaty / python-wechaty

Python Wechaty is a Conversational RPA SDK for Chatbot Makers written in Python
https://wechaty.readthedocs.io/zh_CN/latest/
Apache License 2.0
1.63k stars 234 forks source link

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

Open WeiYingZhe opened 2 weeks ago

WeiYingZhe commented 2 weeks ago

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

MengDanzz commented 2 weeks ago

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

wechaty
urllib3<2.0.0
pyee<9.0.0