I got both python2 and python3 installed in my debian machine. But when i try to invoke the python interpreter by just typing ‘python’ in bash, python2 pops up and not python3. Since I am working with the latter at the moment, It would be easier to invoke python3 by just typing python. Please guide me through this.
Share
the only somehow safe way would be to use an alias in your shell, by placing
into your
~/.profileor~/.bashrc…this way the system scripts depending on python being python2 won’t be affected.