Skip to content

[Bug]: 使用padlocal作为puppet,官方文档的容器无法启动 #437

Description

@fdslk

Environment

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

Description

启动直接报错

Traceback (most recent call last):
  File "examples/ding-dong-bot.py", line 21, in <module>
    from wechaty import (
  File "/Users/zengqiangfang/opt/anaconda3/lib/python3.8/site-packages/wechaty/__init__.py", line 54, in <module>
    from .wechaty import (
  File "/Users/zengqiangfang/opt/anaconda3/lib/python3.8/site-packages/wechaty/wechaty.py", line 44, in <module>
    from pyee import AsyncIOEventEmitter
ImportError: cannot import name 'AsyncIOEventEmitter' from 'pyee' (/Users/zengqiangfang/opt/anaconda3/lib/python3.8/site-packages/pyee/__init__.py)Traceback (most recent call last):
  File "examples/ding-dong-bot.py", line 21, in <module>
    from wechaty import (
  File "/Users/zengqiangfang/opt/anaconda3/lib/python3.8/site-packages/wechaty/__init__.py", line 54, in <module>
    from .wechaty import (
  File "/Users/zengqiangfang/opt/anaconda3/lib/python3.8/site-packages/wechaty/wechaty.py", line 44, in <module>
    from pyee import AsyncIOEventEmitter
ImportError: cannot import name 'AsyncIOEventEmitter' from 'pyee' (/Users/zengqiangfang/opt/anaconda3/lib/python3.8/site-packages/pyee/__init__.py)

Minimum reproducible code

官网代码
https://wechaty.readthedocs.io/zh-cn/latest/introduction/use-padlocal-protocol/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions