当我酿造安装python时,这意味着什么?
Caveats
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
This formula is keg-only, which means it was not symlinked into /usr/local.
Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries
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.pem文件是什么?Keg-only,这是否意味着我需要将brew python链接到bash配置文件中,以引用brew安装而不是mac中的构建?发布于 2017-01-16 16:07:11
pem文件是证书文件(公钥);当使用诸如TLS/SSL (例如https://)的加密时,通常需要它们来验证远程端的真实性。您可以尝试搜索"PEM file",这可能会指向您例如What is a Pem file and how does it differ from other OpenSSL Generated Key File Formats?keg-only意味着安装的包不会污染全局命名空间(因此您不能随意使用它,并破坏一切)。使用brew安装的python最简单的方法可能是将/usr/local/opt/python/bin/ (或者类似的,我现在还没有可用的brew )添加到.bashrc中的PATH变量中。(在bash概要的上下文中,需要链接brew python并没有多大意义;您也应该使用符号链接这个术语,而不是链接,以避免歧义)https://stackoverflow.com/questions/41679665
复制相似问题