The default version of python in my Ubuntu 18.04 is 2.7.
I've already used the command:
alias python=python3
but it changes the python version temporarily, as soon as I close the terminal and re-opens it the version again changes to python 2.7.
Is there any permanent solution to this issue?
.bashrc
so it is executed as you login. – Stefan Hamcke Sep 26 '18 at 19:15