我正在尝试在 macOS Mojave 10.14 上安装 AWS EB-CLI,并且在编译 Python 时遇到以下错误。
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
BUILD FAILED (OS X 10.14.5 using python-build 20180424)
Run Code Online (Sandbox Code Playgroud)
在 pyenv wiki 中,它说,
到目前为止我所做的事情...
现在错误是:
could not build the ssl module!
Python requires an OpenSSL 1.0.2 or 1.1 compatible libssl with X509_VERIFY_PARAM_set1_host().
LibreSSL 2.6.4 and earlier do not provide the necessary APIs, …Run Code Online (Sandbox Code Playgroud)