This question already has an answer here:
- How do I create a permanent Bash alias? 9 answers
The default version of python in my Ubuntu 18.04 is 2.7.
I've already used the command:
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?