RHEL8にpython3.8をインストールする
RHEL8にpython3.8をインストールする
RHELにyumでpython3を入れるとデフォルトでは3.6.8がはいってきます。
awsをいじるのにboto3を入れたんですが、動かすとこんなワーニングがでてきます。
/usr/local/lib/python3.6/site-packages/boto3/compat.py:88: PythonDeprecationWarning: Boto3 will no longer support Python 3.6 starting May 30, 2022. To continue receiving service updates, bug fixes, and security updates please upgrade to Python 3.7 or later. More information can be found here: https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/ warnings.warn(warning, PythonDeprecationWarning)
ほっといてもいいんですが、気持ち悪いので3.8にあげます。
python3.8をインストール
# yum install python38
alternativesでpython3を切り替え
# alternatives --set python3 /usr/bin/python3.8 # python3 -V Python 3.8.12