【发布时间】:2017-12-24 21:13:59
【问题描述】:
我的 brew OpenSSL 版本是 1.0.2l,我的 Python OpenSSL 版本是 9.8。我已经尝试解决这个问题几个小时了。我尝试更改 .bash 配置文件中的路径,我尝试卸载然后重新安装
python --with-brewed-openssl
我已经更新/升级/修剪/修复了 brew,我尝试使用以下命令链接 openssl
brew link openssl --force
但这会导致 1.0.2l 和 1.0.1f 出现此错误,
Linking keg-only openssl means you may end up linking against the
insecure,
deprecated system OpenSSL while using the headers from Homebrew's
openssl.
Instead, pass the full include/library paths to your compiler e.g.:
-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
我已经尝试为某些文件创建符号链接(尽管我不确定这是在做什么)......我不知道还能尝试什么。我的 python 版本是 2.7.13_1。
【问题讨论】: