Python和'print ssl.OPENSSL_VERSION'打印错误的版本 [英] Python and 'print ssl.OPENSSL_VERSION' prints wrong version
问题描述
我曾与史蒂芬·乌尔里希(Steffen Ullrich)合作处理过前一期,现在正演变成新一期.因此,在听取他的建议(谢谢Steffen)之后,我要提出一个单独的问题:
I was working with Steffen Ullrich on a previous issue, and now it is morphing into a new issue. So taking his advice (thank you Steffen), I am posting a separate question:
$ python -c 'import ssl; print ssl.OPENSSL_VERSION'
OpenSSL 0.9.8zh 14 Jan 2016
我已经尝试过在阳光下进行几乎所有的修复(感觉).
I have attempted just about everything under the sun (so it feels) to fix it.
$ brew install openssl
Warning: openssl 1.0.21 is already installed
所以我两者都有,但是它只能读取/链接到OpenSSL 0.9.8zh?
So I have both, but it only reads/links to OpenSSL 0.9.8zh?
我是Mac上的Python/Homebrew新手.
I am new to Python/Homebrew on my Mac.
推荐答案
如果其他任何人都遇到相同的问题,我想提供原始链接(问题的第一部分),以便其他人可以全面了解.
Incase anyone else has the same issues, I wanted to provide the link to the original (1st half of the issue) so that others may get a full picture.
macOS Sierra/Python2.7.13 URLError:< urlopen错误EOF违反协议(_ssl.c:661)>
这篇关于Python和'print ssl.OPENSSL_VERSION'打印错误的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!