You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
I encounter this error when running the example program with python3.9 chatlet.py. I've tried various solutions involving ldconfig shenanigans to no success.
I've ensured that the file exists with stat. Oddly, temporarily replacing the file with nonsense will return errors (file too short, invalid ELF format etc.).
Traceback (most recent call last):
File "/home/pi/workspace/gobbot/chatlet.py", line 1, in <module>
from revChatGPT.ChatGPT import Chatbot
File "/home/pi/.local/lib/python3.9/site-packages/revChatGPT/ChatGPT.py", line 4, in <module>
import tls_client_for_chatGPT as tls_client
File "/home/pi/.local/lib/python3.9/site-packages/tls_client_for_chatGPT/__init__.py", line 15, in <module>
from .sessions import Session
File "/home/pi/.local/lib/python3.9/site-packages/tls_client_for_chatGPT/sessions.py", line 1, in <module>
from .cffi import request
File "/home/pi/.local/lib/python3.9/site-packages/tls_client_for_chatGPT/cffi.py", line 15, in <module>
library = ctypes.cdll.LoadLibrary(f'{root_dir}/dependencies/tls-client{file_ext}')
File "/usr/lib/python3.9/ctypes/__init__.py", line 452, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python3.9/ctypes/__init__.py", line 374, in __init__
self._handle = _dlopen(self._name, mode)
OSError: /home/pi/.local/lib/python3.9/site-packages/tls_client_for_chatGPT/dependencies/tls-client-amd64.so: cannot open shared object file: No such file or directory
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I encounter this error when running the example program with
python3.9 chatlet.py
. I've tried various solutions involvingldconfig
shenanigans to no success.I've ensured that the file exists with stat. Oddly, temporarily replacing the file with nonsense will return errors (file too short, invalid ELF format etc.).
Full error:
Beta Was this translation helpful? Give feedback.
All reactions