Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
17635093322 opened this issue Feb 1, 2025 · 0 comments
Open

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

17635093322 opened this issue Feb 1, 2025 · 0 comments

Comments

@17635093322
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant