Compile cryptography for Mac

Compilation should work with Homebrew

$ brew install [email protected] rust
$ env LDFLAGS="-L$(brew --prefix [email protected])/lib" CFLAGS="-I$(brew --prefix [email protected])/include" pip install cryptography

Refer to the official documentation

https://cryptography.io/en/latest/installation/

Guess you like

Origin blog.csdn.net/kelxLZ/article/details/125890738