Skip to content

[bug]:用不了,各种报错 #436

@17635093322

Description

@17635093322

Environment

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

Description

安装wechaty,一运行就报错pyee版本不对,urllib3版本不对,降级之后又显示wechaty_puppet.exceptions.WechatyPuppetConfigurationError: WechatyPuppetConfigurationError('wechaty-puppet-service: token not found. please set environment<WECHATY_PUPPET_SERVICE_TOKEN> as token', None, None)

Minimum reproducible code

/Users/zhangqi/Documents/PycharmProjects/AI_Wechat/.venv/bin/python /Users/zhangqi/Documents/PycharmProjects/AI_Wechat/Bot.py
2025-02-02 01:01:15,104 - Wechaty - INFO - on() listen event with <<function main.. at 0x104475d00>>
2025-02-02 01:01:15,104 - Wechaty - INFO - on() listen event with <<function main.. at 0x104475e40>>
2025-02-02 01:01:15,104 - Wechaty - INFO - on() listen event with <<function main.. at 0x104475f80>>
Traceback (most recent call last):
File "/Users/zhangqi/Documents/PycharmProjects/AI_Wechat/.venv/lib/python3.12/site-packages/wechaty/wechaty.py", line 418, in start
await self.init_puppet()
File "/Users/zhangqi/Documents/PycharmProjects/AI_Wechat/.venv/lib/python3.12/site-packages/wechaty/wechaty.py", line 726, in init_puppet
self._puppet = self._load_puppet(self._options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/zhangqi/Documents/PycharmProjects/AI_Wechat/.venv/lib/python3.12/site-packages/wechaty/wechaty.py", line 222, in _load_puppet
return puppet_service_class(options.puppet_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/zhangqi/Documents/PycharmProjects/AI_Wechat/.venv/lib/python3.12/site-packages/wechaty_puppet_service/puppet.py", line 186, in init
raise WechatyPuppetConfigurationError(
wechaty_puppet.exceptions.WechatyPuppetConfigurationError: WechatyPuppetConfigurationError('wechaty-puppet-service: token not found. please set environment<WECHATY_PUPPET_SERVICE_TOKEN> as token', None, None)

进程已结束,退出代码为 0

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