Mac安装cryptography找不到openssl/open
2019-04-09 本文已影响0人
熊猫人和熊猫君
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 .