lexiforest / curl_cffi

Python binding for curl-impersonate fork via cffi. A http client that can impersonate browser tls/ja3/http2 fingerprints.
https://curl-cffi.readthedocs.io/
MIT License
2.54k stars 269 forks source link

[Feature] Add support for s390x #271

Open bluegod1996 opened 8 months ago

bluegod1996 commented 8 months ago

s390x install bug

File "/tmp/pip-build-env-3d7y622h/overlay/lib/python3.8/site-packages/cffi/setuptools_ext.py", line 25, in execfile
  exec(code, glob, glob)
File "scripts/build.py", line 43, in <module>
  arch = detect_arch()
File "scripts/build.py", line 40, in detect_arch
  raise Exception(f"Unsupported arch: {uname}")

Exception: Unsupported arch: uname_result(system='Linux', node='a85c39876761', release='5.4.0-156-generic', version='#173-Ubuntu SMP Tue Jul 11 07:24:43 UTC 2023', machine='s390x', processor='s390x')

ERROR: Command errored out with exit status 1: /usr/bin/python3 /tmp/tmpo0xmfwg2 get_requires_for_build_wheel /tmp/tmp5y_pzw6x Check the logs for full command output.