Closed kotx closed 1 year ago
Have the exact same problem. tls_client/cffi.py needs to be extended to support raspberry pi 4 (platform = "linux" and machine = "armv7l") and we need the appropriate shared object in the dependencies directory.
same problem, there is no .so
file for arm64 in dependencies folder
Same here
I've opened a PR that hopefully resolves this. Would be great if people can confirm this works for them to make it easier to merge.
for my use-case a fix was to use this image: FROM --platform=amd64 python:3.9-slim
instead of default docker one, but in case you want to start it only in a particular architecture, it would be great to have bigger support
@Kidsan Raspberry has officially moved to arm64
@arnav7633 interesting, I knew it was possible but hadn't known that it was a fully adopted architecture. I'm running 32bit on my Pis and I'm quite ignorant to this stuff. Do you know if it returns aarch64
if we call platform.machine()
or armv8b
or what? Perhaps we need to account for multiple variations.
Its aarch64
. More info here
I've pushed an update, please lmk if this resolves your issues
arch
isaarch64
,amd64
will not work here.