Ukenn2112 / ChatGPTelegramBot

ChatGPTelegramBot 支持私聊群组单会话

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ARM server error

GeekWorkCode opened this issue · comments

Traceback (most recent call last):
File "bot.py", line 10, in
from revChatGPT.revChatGPT import AsyncChatbot
File "/usr/local/lib/python3.8/dist-packages/revChatGPT/revChatGPT.py", line 12, in
from OpenAIAuth.OpenAIAuth import OpenAIAuth, Debugger
File "/usr/local/lib/python3.8/dist-packages/OpenAIAuth/OpenAIAuth.py", line 6, in
import tls_client
File "/usr/local/lib/python3.8/dist-packages/tls_client/init.py", line 15, in
from .sessions import Session
File "/usr/local/lib/python3.8/dist-packages/tls_client/sessions.py", line 1, in
from .cffi import request
File "/usr/local/lib/python3.8/dist-packages/tls_client/cffi.py", line 15, in
library = ctypes.cdll.LoadLibrary(f'{root_dir}/dependencies/tls-client{file_ext}')
File "/usr/lib/python3.8/ctypes/init.py", line 451, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python3.8/ctypes/init.py", line 373, in init
self._handle = _dlopen(self._name, mode)
OSError: /usr/local/lib/python3.8/dist-packages/tls_client/dependencies/tls-client-amd64.so: cannot open shared object file: No such file or directory

commented

这个情况看起来是上游的问题,你能运行起来discode_chatgpt的docker么

这个情况看起来是上游的问题,你能运行起来discode_chatgpt的docker么

可以 我就是跑起来discode_chatgpt 没问题,才推荐参考那个的,因为主要玩tg,我看他用revChatGPT==0.0.44, 我准备改成这个试下

commented

0.0.44 版本异步有点问题,会导致跑不起来。我可能需要修改一下才能支持0.0.44版本

0.0.44 版本异步有点问题,会导致跑不起来。我可能需要修改一下才能支持0.0.44版本
嗯 我改成0.0.44 运行报这个错
Traceback (most recent call last):
File "bot.py", line 199, in
asyncio.get_event_loop().run_until_complete(get_cf_clearance())
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "bot.py", line 191, in get_cf_clearance
raise Exception('获取 cf_clearance 失败')
Exception: 获取 cf_clearance 失败

commented

7ee44cb 已支持并修复