I have Python3.5.3 on my linux machine and want to install Python3.6. I used the following commands:
sudo apt-get update
sudo apt-get install python3.6
But, the python version does not get updated. Is it that Python3.6 cannot be installed on my machine?
1) Try the testing repo solution from this link: https://www.rosehosting.com/blog/how-to-install-python-3-6-4-on-debian-9/ or
2) Using Anaconda Python https://docs.anaconda.com/anaconda/install/linux/ (recommended)