Installing Cryptography on an Apple Silicon M1 Mac

This issue is due to a mismatch between the libffi header version and the version of libffi the dynamic linker finds. In general it appears users encountering this problem have homebrew libffi installed and have a Python built against that in some fashion. When this happens cffi (a cryptography dependency) compiles, but fails at runtime … Read more