Am just wondering how to upgrade python 3.9.2 to 3.9.7 in parrot os.
Hello. If you need that exact version, it is worth installing it from source (you could also use docker image if you want). On the web you will find tutorials on how to do this.
I saw many tutorials. Those were 3.6 to 3.9 upgrade and like that. They were just installing the latest version of python, not proper upgrade.
Install it from source (it’s not too complex), it’s a way to get a specific version of the software you want to use.