PyChatGPT icon indicating copy to clipboard operation
PyChatGPT copied to clipboard

Support for 32bit and Arm processors

Open acheong08 opened this issue 3 years ago • 4 comments

Dependency TLS-client lacks support. Is it possible to implement their features using requests?

acheong08 avatar Dec 06 '22 17:12 acheong08

Without the TLS client. The whole process will fail. Auth0 does some JS fingerprinting along with some cookies normal aiohttp/requests cannot persist. I have tried many ways.

rawandahmad698 avatar Dec 06 '22 17:12 rawandahmad698

That's interesting. I suppose we must wait for different builds to be released. It should be cross platform. Just need other versions to be compiled and released.

acheong08 avatar Dec 07 '22 00:12 acheong08

+1 here, though on amd64, I was trying to launch this in docker from m1 macbook and it seems that it doesn't work there with the same issue:

OSError: /usr/local/lib/python3.9/site-packages/tls_client/dependencies/tls-client-amd64.so: cannot open shared object file: No such file or directory

created next issue: https://github.com/FlorianREGAZ/Python-Tls-Client/issues/16

upd: okay, for my use-case a fix was to use this image: FROM --platform=amd64 python:3.9-slim instead of default one.

0xRaduan avatar Dec 08 '22 06:12 0xRaduan

+1 here, though on amd64, I was trying to launch this in docker from m1 macbook and it seems that it doesn't work there with the same issue:

OSError: /usr/local/lib/python3.9/site-packages/tls_client/dependencies/tls-client-amd64.so: cannot open shared object file: No such file or directory

created next issue: FlorianREGAZ/Python-Tls-Client#16

upd: okay, for my use-case a fix was to use this image: FROM --platform=amd64 python:3.9-slim instead of default one.

+1,Architecture: aarch64 has the same problem

ixjx avatar Dec 08 '22 08:12 ixjx