Last active
March 8, 2021 23:22
-
-
Save sunliwen/099a80847776785f24f7 to your computer and use it in GitHub Desktop.
On Mac - fatal error: 'openssl/aes.h' file not found #include <openssl/aes.h>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install pip install cryptography, path issue with openssl/aes.h will occur. The reason is Apple deprecated openssl and the compiler can't find the one installed by homebrew. | |
# So the following line will help. | |
env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" pip install cryptography |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment