I am using Visual Studio Code for my Python programming and the problem that I am facing is that on terminal when I type the command python
, by default Python 2.7 is loaded. So because of this I am not able to debug my Python 3 commands on my Ubuntu Budgie.
What should I do in order to uninstall Python 2.7 and make 3.7 as my default Python? I have uninstalled Python 2.7 by using the command sudo apt-get remove python
. Even after doing this, I have to type python3
to load Python 3.7 and I get an error when just I type python
.
How do I make my Python 3 default so that when I type python
, Python 3.7 starts?
-Codec Leaper