I had installed Python 3.7 which according to tutorial in this blog(i change the Python version to 3.7.2):
However, when I checked my default python with
it still showing me 2.7.13 version
I had tried to set the default version with the following command:
alias python='/usr/bin/python3.7' $ . ~/.bashrc
but then when i check my Python version it showing error which cannot found my Python file in /usr/bin directory.
my Python 3.7 is actually installed in /home/pi
then I tried to change the alias command to this directory, but it fail to set as default as well.
does anyone came across this issue? I just want to change my default Python.