Created
July 7, 2024 15:25
-
-
Save cloudnull/1816a3cabe0851803cf9f3c005d2bce9 to your computer and use it in GitHub Desktop.
Install openstack keystone on OSX
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
# This simple setup fixes the following error on MacOS. | |
# | |
# scrypt-1.2.1/libcperciva/crypto/crypto_aes.c:6:10: fatal error: 'openssl/aes.h' file not found | |
# #include <openssl/aes.h> | |
# ^~~~~~~~~~~~~~~ | |
# 1 error generated. | |
# error: command '/usr/bin/clang' failed with exit code 1 | |
# [end of output] | |
# | |
# note: This error originates from a subprocess, and is likely not a problem with pip. | |
# ERROR: Failed building wheel for scrypt | |
export CFLAGS="-I$(brew --prefix openssl)/include" | |
export LDFLAGS="-L$(brew --prefix openssl)/lib" | |
pip install cryptography --force-reinstall | |
pip install git+https://github.com/openstack/keystone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment