詳細についても確認しました。
基本的には先のエラーと同様に、pythonのビルドに必要となる依存ライブラリがインストールされていないことが原因と思います。
今回、直接のエラー原因となっているのは、OpenSSLのライブラリ(↓)です。
ERROR; The Python ssl extension was not compiled. Missing the OpenSSL lib?
zlibの場合と同様に、yumコマンドにて適したopensslライブラリのインストールが必要です。
bash
1yum install openssl-devel
他にもWARNINGが出ており、pythonのビルドに必要なライブラリ一式が入っていないと思われます。(うち、zlibは先のインストールで解消ずみです。)
ですので、python公式のドキュメントに従い、以下のコマンドで必要なライブラリを一式入れて解決しないでしょうか?
bash
1sudo yum install yum-utils
2sudo yum-builddep python3
以下、pythonのドキュメントより引用です。
1.1.3.1. Build dependencies
The core CPython interpreter only needs a C compiler to be built; if you get compile errors with a C89 or C99-compliant compiler, please open a bug report. However, some of the extension modules will need development headers for additional libraries (such as the zlib library for compression). Depending on what you intend to work on, you might need to install these additional requirements so that the compiled interpreter supports the desired features.
For UNIX based systems, we try to use system libraries whenever available. This means optional components will only build if the relevant system headers are available. The best way to obtain the appropriate headers will vary by distribution, but the appropriate commands for some popular distributions are below.
On Fedora, Red Hat Enterprise Linux and other yum based systems:
$ sudo yum install yum-utils
$ sudo yum-builddep python3
完全なドキュメントは以下をご覧ください。
python公式ドキュメントのビルドの項