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.
the only somehow safe way would be to use an alias in your shell, by placing
alias python=python3
into your ~/.profile
or ~/.bashrc
...
this way the system scripts depending on python being python2 won't be affected.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With