https://tutorials.technology/solved_errors/1-OSX-openssl_opensslv_h-file-not-found.html
方案一
brew install openssl
env LDFLAGS="-L(brew --prefix openssl)/include" pip install cryptography
方案二
Check with the openssl include path with brew --prefix openssl)/include if it exists, you can try to execute:
cd /usr/local/include
ln -s ../opt/openssl/include/openssl .