Even after upgrading Python from 3.6.8 to 3.8.17, while upgrading Symantec Directory from 14.1.03 to 14.1.05, it fails with:
============================= CURRENT INSTALLATION ============================
Checking current install of Directory DXagent... 14.1.03.16992
Found Python 3.6.8
DXagent requires Python 3.7 or higher
Possibilities are that you upgrade the Python to 3.8 from one putty session and attempted to upgrade from the original putty shell where the environment variables might still have the old information cached in so it still found python version to be 3.6.8.
From the putty session where you are upgrading, run 'python -V' or 'python --version' command at the system prompt to confirm it indeed comes back with Python 3.8.17.
If not, alternatively you can set the environment variable manually to pint to version 3.8.17.
e.g. set python /usr/bin/python3.8
and re-run 'python -V' to confirm it returns the correct version. Once confirmed, attempt to upgrade again and it should succeed.
If the problem still persist, run 'python3 -V' at the system prompt to see what version is being reported.
If comes back as 3.6.8, you need to adjust this at Operating System level to point it to version 3.8.17.
Once done, confirm by running 'python3 -V' again making sure it returns the version as 3.8.17.
Even after all of the above, the upgrade/install still fails reporting lower version of Python, next thing to check is to make sure the system level environments reflects the newer version. So update the system setting and try again to install/upgrade.