This is an introduction to building and installing Python 3.7.16 from source on Centos 6.10. Unfortunately python 3.7.16 requires specifics version of openssl and Centos 6.10 does not provides these versions: So previous to configure python, you have to configure zlib and then openssl.
- zlib 1.1.3 (better 1.1.4) or upper
- openssl 1.1.0 or upper
- Also, you will need libffi-devel rpm