zhayujie/bot-on-anything

使用企业微信提示 No module named 'wechatpy'无法解决

gongxianhui0 opened this issue · 0 comments

如题
[INFO][2023-06-01 14:44:49][plugin_registry.py:23] - Plugin Selector_v0.1 registered
[INFO][2023-06-01 14:44:49][log.py:32] - [Selector] inited
[INFO][2023-06-01 14:44:50][plugin_registry.py:23] - Plugin CreateImg_v0.1 registered
Load config success
[INFO][2023-06-01 14:44:50][log.py:34] - [MultiChannel] Start up chatgpt on wechat_com
[ERROR][2023-06-01 14:44:50][log.py:47] - [MultiChannel] Start up failed on wechat_com: No module named 'wechatpy'
[ERROR][2023-06-01 14:44:50][log.py:45] - App startup failed!
[ERROR][2023-06-01 14:44:50][log.py:50] - No module named 'wechatpy'
Traceback (most recent call last):
File "app.py", line 42, in main
start_process(channel_type[0], args.config)
File "app.py", line 23, in start_process
raise e
File "app.py", line 19, in start_process
channel = channel_factory.create_channel(channel_type)
File "/home/gongxianhui/openai/bot-on-anything/channel/channel_factory.py", line 29, in create_channel
from channel.wechat.wechat_com_channel import WechatEnterpriseChannel
File "/home/gongxianhui/openai/bot-on-anything/channel/wechat/wechat_com_channel.py", line 16, in
from wechatpy.enterprise.crypto import WeChatCrypto
ModuleNotFoundError: No module named 'wechatpy'
然后根据其他人的经验 pip3 install wehcatpy -U
提示 ERROR: Could not find a version that satisfies the requirement wehcatpy (from versions: none)
ERROR: No matching distribution found for wehcatpy
再然后我根据其他帖子修改requirements.txt
openai
EdgeGPT
requests
discord.py>=2.0.0
discord.py>=2.0.0
wechatpy
cryptography
没有效果,请给我一个解决办法。