Answers for "ubuntu change default python to python3"

0

changing default python version ubuntu

sudo update-alternatives  --set python /usr/bin/python3.6
Posted by: Guest on September-09-2021
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
0

set python3.7 as default ubuntu

sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.7 1
Posted by: Guest on July-06-2021
0

set python 3 as default ubuntu

update-alternatives: error: no alternatives for python3
Posted by: Guest on December-20-2020

Code answers related to "ubuntu change default python to python3"

Python Answers by Framework

Browse Popular Code Answers by Language