This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
https communication #796
Unanswered
hongshunanhai
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
macos mojave, python 3.9.12, run the example code, the error message:
Traceback (most recent call last):
File "/Users/annlee/PycharmProjects/chatgpt.py", line 1, in
from revChatGPT.V2 import Chatbot
File "/usr/local/lib/python3.9/site-packages/revChatGPT/V2.py", line 12, in
from OpenAIAuth.OpenAIAuth import OpenAIAuth
File "/usr/local/lib/python3.9/site-packages/OpenAIAuth/OpenAIAuth.py", line 5, in
import tls_client
File "/usr/local/lib/python3.9/site-packages/tls_client/init.py", line 15, in
from .sessions import Session
File "/usr/local/lib/python3.9/site-packages/tls_client/sessions.py", line 1, in
from .cffi import request
File "/usr/local/lib/python3.9/site-packages/tls_client/cffi.py", line 20, in
library = ctypes.cdll.LoadLibrary(f'{root_dir}/dependencies/tls-client{file_ext}')
File "/usr/local/Cellar/python@3.9/3.9.12_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ctypes/init.py", line 452, in LoadLibrary
return self._dlltype(name)
File "/usr/local/Cellar/python@3.9/3.9.12_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ctypes/init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/usr/local/lib/python3.9/site-packages/tls_client/dependencies/tls-client-x86.dylib, 6): no suitable image found. Did find:
/usr/local/lib/python3.9/site-packages/tls_client/dependencies/tls-client-x86.dylib: cannot load 'tls-client-x86.dylib' (load command 0x80000034 is unknown)
/usr/local/lib/python3.9/site-packages/tls_client/dependencies/tls-client-x86.dylib: cannot load 'tls-client-x86.dylib' (load command 0x80000034 is unknown)
Beta Was this translation helpful? Give feedback.
All reactions