Please set 3.x Python as default in 14.04, currently even writing python in terminal starts 2.7
Asked
Active
Viewed 1.1k times
1 Answers
4
This is not exactly an answer to your question, but a workaround, just in case you need it. python3 comes installed by default on Ubuntu 14.04. So the best way you can start python3 when you type python on the terminal is opening your ~/.bash_aliases file and typing this:
alias python='python3`
and then doing a source ~/.bash_aliases. You'll get python3 when you type python on your terminal hereon.
jobin
- 28,567