-
Notifications
You must be signed in to change notification settings - Fork 238
Description
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