报错
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
解决方法是
LDFLAGS: -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/openssl/include
you’ll need to add to your build variables
自带openssl和brew安装的openssl
Mac 自带openssl在/usr/bin
brew装的openssl在/usr/local/bin/
需要一条命令
brew link openssl --force
备注
以下是刚安装完openssl时的说明,备注用,感觉是因为新操作系统的沙箱之类的限制的临时解决方法,感觉而已仅供参考
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/openssl/include