Open your #Linux, #FreeBSD, #macOS or #Unix/Windows terminal and type:
python --version
It should be between 3.8 to 3.11. Anything else is just a disaster waiting to happen. There is no need to use an older version as Python no longer gets security updates.