Description
I tried to start revChatGPT from a command line or from python. In both cases I got the following error:
...
File "/Users/vostryakov/projects/env3.7/ds-vqCpqeZ3-py3.8/lib/python3.8/site-packages/revChatGPT/main.py", line 5, in
from revChatGPT.ChatGPT import Chatbot
File "/Users/vostryakov/projects/env3.7/ds-vqCpqeZ3-py3.8/lib/python3.8/site-packages/revChatGPT/ChatGPT.py", line 1, in
import uuid, re, json, tls_client, logging
File "/Users/vostryakov/projects/env3.7/ds-vqCpqeZ3-py3.8/lib/python3.8/site-packages/tls_client/init.py", line 15, in
from .sessions import Session
File "/Users/vostryakov/projects/env3.7/ds-vqCpqeZ3-py3.8/lib/python3.8/site-packages/tls_client/sessions.py", line 1, in
from .cffi import request
File "/Users/vostryakov/projects/env3.7/ds-vqCpqeZ3-py3.8/lib/python3.8/site-packages/tls_client/cffi.py", line 20, in
library = ctypes.cdll.LoadLibrary(f'{root_dir}/dependencies/tls-client{file_ext}')
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/init.py", line 451, in LoadLibrary
return self._dlltype(name)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/init.py", line 373, in init
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Users/vostryakov/projects/env3.7/ds-vqCpqeZ3-py3.8/lib/python3.8/site-packages/tls_client/dependencies/tls-client-x86.dylib, 6): no suitable image found. Did find:
/Users/vostryakov/projects/env3.7/ds-vqCpqeZ3-py3.8/lib/python3.8/site-packages/tls_client/dependencies/tls-client-x86.dylib: cannot load 'tls-client-x86.dylib' (load command 0x80000034 is unknown)
/Users/vostryakov/projects/env3.7/ds-vqCpqeZ3-py3.8/lib/python3.8/site-packages/tls_client/dependencies/tls-client-x86.dylib: cannot load 'tls-client-x86.dylib' (load command 0x80000034 is unknown)
I think that I have binary package of tls-client-x86.dylib for different CPU architecture or MacOS versions. Can you say what versions of macOS are supported? Or what is wrong in my case?
Steps to Reproduce
Executing the following code:
from revChatGPT.ChatGPT import Chatbot
Expected behavior
the code working properly without errors
Environment
- OS: MacOS 10.14.6
- Python version: 3.8.9
- ChatGPT Version: 0.2.1
Apple Silicon not supported. MacOS below Catalina also not supported
Apple Silicon not supported.
Works on my M1. OS Ventura
Maybe with Rossetta or something. I don't see an ARM dylib
Thank you. I close the issue