I have installed python 3 through this command
sudo apt-get install python3
and when checked the version using
it was python 3.5.2
I wanted to install python version 3.7, and when tried the following
Have you tried running python3.7 --version instead of only python3?
If this still does not work what I would suggest is following these steps here:
Run a quick update and install the following package: