Answers for "how to make python 3 the default on ubuntu"

3

set python 3 as default ubuntu

sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.4 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.6 2
Posted by: Guest on December-20-2020
2

set python 3 as default ubuntu

sudo update-alternatives --config python
Posted by: Guest on December-20-2020

Code answers related to "how to make python 3 the default on ubuntu"

Python Answers by Framework

Browse Popular Code Answers by Language