Open GYKgamer opened 1 year ago
check out my fork it has support python-tls-client-arm32
Check if the file is missing from the directory. If it is, download tls-client-arm64.so
from https://github.com/FlorianREGAZ/Python-Tls-Client/tree/master/tls_client/dependencies and it should work.
I wanted to ask if theres arm64 support? I'm trying to run a python script but it fails because of a missing arm64 file.
2023-05-06 22:06:31.145 Uncaught app exception Traceback (most recent call last): File "/home/pi/.local/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script exec(code, module.dict) File "/home/pi/gpt4free/streamlit_app.py", line 7, in
from gpt4free import you
File "/home/pi/gpt4free/gpt4free/init.py", line 4, in
from gpt4free import forefront
File "/home/pi/gpt4free/gpt4free/forefront/init.py", line 10, in
from tls_client import Session
File "/usr/local/lib/python3.9/dist-packages/tls_client-0.2.1-py3.9.egg/tls_client/init.py", line 15, in
from .sessions import Session
File "/usr/local/lib/python3.9/dist-packages/tls_client-0.2.1-py3.9.egg/tls_client/sessions.py", line 1, in
from .cffi import request, freeMemory
File "/usr/local/lib/python3.9/dist-packages/tls_client-0.2.1-py3.9.egg/tls_client/cffi.py", line 20, in
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: /usr/local/lib/python3.9/dist-packages/tls_client-0.2.1-py3.9.egg/tls_client/dependencies/tls-client-arm64.so: cannot open shared object file: No such file or directory