I am running ubuntu 16.04. Recently I have installed python3.7.3 by running these commands:
sudo apt update sudo apt install software-properties-common sudo add-apt-repository ppa:deadsnakes/ppa sudo apt update sudo apt install python3.7
after running these commands I typed:
Python 3.7.3 (default, Mar 26 2019, 01:59:45) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information.
But the default python in ubuntu still is python3.5. To configure it I am ran the following command in the terminal:
sudo update-alternatives --config python
the output of the command is as follows:
There is only one alternative in link group python (providing /usr/bin/python): /usr/bin/python3.5 Nothing to configure.
Any help to resolve this issue is highly appreciated.
Thanks in advance.