-
-
Save shrinath-shenoy/797443bd1ebc07240ac11cbb77a6e8c1 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 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