ubuntu set python 3 as default code example
Example 1: set python 3 as default ubuntu
sudo update-alternatives --config python
Example 2: set python 3 as default ubuntu
update-alternatives: error: no alternatives for python3
sudo update-alternatives --config python
update-alternatives: error: no alternatives for python3