1#Check available versions
2ls /usr/bin/python*
3#Change the used version 3.5 or 3.7 etc
4alias python='/usr/bin/python3.x'
5#do this other thing
6. ~/.bashrc
7#Check version
8python --version
1sudo update-alternatives --config python
2
1conda update python
1conda install python=3.6
1pip upgrade -pip
1sudo update-alternatives --config python3 #Omar