title: How to uninstall python in ubuntu completely and reinstalling it?
body: <p>The default python version was 2.7.12 in ubuntu.
  <strong><em>I installed python2.7.13 using the below commands.</em></strong></p>
  
  <p>Then download using the following command:</p>
  
  <pre><code>version=2.7.13
  cd ~/Downloads/
  wget https://www.python.org/ftp/python/$version/Python-$version.tgz
  </code></pre>
  
  <p>Extract and go to the directory:</p>
  
  <pre><code>tar -xvf Python-$version.tgz
  cd Python-$version
  </code></pre>
  
  <p>Now, install using the command you just tried, using checkinstall instead to make it easier to uninstall if needed:</p>
  
  <pre><code>./configure
  sudo make install
  </code></pre>
  
  <p>Now there is some issue in pandas(giving no module named pandas when I try to import but if we try to install it shows required already satisfied) so I want to completely remove python 2.7.13 and reinstall python 2.7.12. How can I achieve this?</p>