La compilación debería funcionar con Homebrew
$ brew install [email protected] rust
$ env LDFLAGS="-L$(brew --prefix [email protected])/lib" CFLAGS="-I$(brew --prefix [email protected])/include" pip install cryptography
Consulte la documentación oficial.
https://cryptography.io/en/latest/installation/