1. Check current version:
$ python --version
2. get root permissions:
$ sudo su
3. set python3 as default:
$ update-alternatives --install /usr/bin/python python /usr/bin/python3 1
4. Done. (Check by $ python --version)
#its work 100%
#in python 3.8 you can use your python version
sudo ln -s /usr/bin/python3.8 /usr/bin/python
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.<version you dont want default> 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.<version# you want default (ex:3.6)> 2
sudo update-alternatives --config python