crate-crypto / py-arkworks-bls12381

Python wrapper around arkwork's implementation of bls12-381
7 stars 2 forks source link

Package not working on Apple Silicon #1

Open BilalBAI opened 5 months ago

BilalBAI commented 5 months ago

Hello,

I noticed the package is not working on a Macbook with Apple Silicon with the error message:

py_arkworks_bls12381/py_arkworks_bls12381.cpython-312-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))

I have rust (aarch64-apple-darwin) installed.

Is it because the executable is compiled on x86_64 thus not working on arm64? Could you please let me know how to make it work?

Thanks.

kevaundray commented 2 months ago

Hey sorry for late reply,

Perhaps you are compiling locally with Rosetta?