如何在centos上为Python3.7.4安装openssl1.0.2t?

时间:2019-09-19 18:47:18

标签: python-3.x openssl centos centos7 python-3.7

我们使用centos 7(REHL分发映像),它随附了默认的python2.7.4和openssl 1.0.2k版本。

我们已经安装了Python3.7.4和最新的openssl1.0.2t。我们正在尝试使用openssl1.0.2t运行python3.7.4,即使在通过openssl1.0.2t配置Python3.7.4之后,

1. changing ./Modules/Setup.dist (lines 204 to 210) with installed openssl path (/usr/local/openssl)

2. also passing -with-openssl while configuring python (./configure --with-openssl=[/usr/local/openssl]),但还是没有运气。

Python 3.7.4 (default, Sep 19 2019, 13:13:47) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>> ssl.OPENSSL_VERSION
'OpenSSL 1.0.2k-fips  26 Jan 2017'

有人成功尝试过在centos7上使用openssl1.0.2t运行python3.7.4的情况下可以提供帮助吗?

0 个答案:

没有答案