'Problem installing cryptography on MacOS Monterey with ARM chip
I am trying to install the cryptography package on my MacBook with ARM chip running Monterey MacOS. The command I issue is
pip3 install cryptography --global-option=build_ext
--global-option="-L/opt/homebrew/Cellar/[email protected]/1.1.1m/lib/"
--global-option="-I/opt/homebrew/Cellar/[email protected]/1.1.1m/include"
I am getting the error:
build/temp.macosx-10.14-arm64-3.8/_openssl.c:575:10:
fatal error: '***openssl/opensslv.h***' file not found
#include <openssl/opensslv.h>
. I definitely have that file under /opt/homebrew/Cellar/[email protected]/1.1.1m/include/
, and that directory is in my path. Please, advise what I am doing wrong.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|