title: Upgrading python 3.5 to python 3.6 - Ubuntu
body: <p>This is the first time I am working with python.
  I am using ubuntu 16.04 system.
  I am trying to change default python 3.5 to python 3.6
  I am following <a href="http://ubuntuhandbook.org/index.php/2017/07/install-python-3-6-1-in-ubuntu-16-04-lts/" rel="nofollow noreferrer">this</a> link to achieve this.</p>
  
  <p>But I am getting the following error when I fire the command :</p>
  
  <pre><code>sudo update-alternatives --config python3
  </code></pre>
  
  <p><strong>Error</strong> : <code>bash: /usr/bin/python3: Too many levels of symbolic links</code></p>
  
  <p>Please refer the screenshot of the steps which I followed and the commands that are executed.
  I have first fired update and  upgrade command.</p>
  
  <p><a href="https://i.stack.imgur.com/ZI8as.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZI8as.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/ALLNR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ALLNR.png" alt="enter image description here"></a></p>
  
  <p>I am not able to understand root cause of the issue, since I am new to python and its environment.</p>
  
  <p>Thank you</p>