How to update Python from 2.7 to 3.7 in CentOs/WHM
Today will show you guys how you can easily upgrade your Python version to latest version by following this simple step you will get it done.
# install requirements
yum install gcc openssl-devel bzip2-devel libffi-devel zlib-devel xz-devel
# Download python version
# extract package
tar xzf Python-3.7.13.tgz
# Install Python
# Used to prevent replacing the default python binary file /usr/bin/python.
#remove the downloaded file after we are done.