I tried to install a certain python module that required python 3.6 minimum to work properly so I checked my version using python --version
which gave me the output of Python 2.7.17
and then used python3 --version
giving me Python 3.6.9
. Now, I know for a fact that i have Python 3.8 installed because I ran apt install python3.8
just before checking the version.
If someone wants to know what my system is running; I am currently running Elementary OS 5.1.7 Hera.
EDIT:
(IDK what term to use, I want to say I am done going through answers, and I liked none.)
After a while of whacking my brain, I decided not to uninstall the 3.6 version as It may have version specific modules which if removed may cause other installed programs to break.
Since I just use Linux for my college-work, It wont matter if more than one versions are installed anyway.
Sorry for any mistakes I may have made, I was never good at this kind of things.