Python

Ubuntu Set default python version

to view the alternative options

update-alternatives --list python

to set the alternative version run

update-alternatives --config python

select the number you want and save. now when you run python --version it should be proper.