How to completely uninstall python 2.7.13 on Ubuntu 16.04 : <p>I installed <code>Python 2.7.13</code> on <code>Ubuntu 16.04</code> according to <a href="https://tecadmin.net/install-python-2-7-on-ubuntu-and-linuxmint/" rel="noreferrer">this guide</a>, and it became the default version as an alternative to the <code>version 2.7.12</code>. But, I wanted to completely remove <code>Python 2.7.13</code> and return back to the <code>version 2.7.12</code> as the default version since the <code>pip</code> command does not work with the following error. </p>

<pre><code>bash: /usr/local/bin/pip: /usr/bin/python: bad interpreter: No such file or directory
</code></pre>

<p>Could you please help me how to completely remove <code>Python 2.7.13</code> from <code>Ubuntu 16.04</code>? Otherwise, could you please suggest how to fix the above error?</p>
