title: Python & Ubuntu 14.04 \ removing a python version installed manually
body: <p>I installed manually a 2.7.8 python on Ubuntu 14.04, not realizing a 2.7.6 was already shipped with Ubuntu (I used this how-to, changing the python version to 2.7.8: <a href="https://askubuntu.com/questions/101591/how-do-i-install-python-2-7-2-on-ubuntu">https://askubuntu.com/questions/101591/how-do-i-install-python-2-7-2-on-ubuntu</a>)</p>
  
  <p>When I list the python versions I have on my system, here is what is output.</p>
  
  <pre><code>pierre@pierre-VirtualBox:~/Téléchargements$ sudo find / -type f -executable -iname 'python*' -exec file -i '{}' \; | awk -F: '/x-executable; charset=binary/ {print $1}' | xargs readlink -f | sort -u | xargs -I % sh -c 'echo -n "%: "; % -V'
  /home/pierre/Téléchargements/Python-2.7.8/python: Python 2.7.8
  /usr/bin/python2.7: Python 2.7.6
  /usr/bin/python3.4: Python 3.4.0
  /usr/bin/python3.4m: Python 3.4.0
  /usr/local/bin/python2.7: Python 2.7.8
  </code></pre>
  
  <p>I installed then PyQt4 with Synaptic, and when I check if it's correctly installed, it seems it isn't.</p>
  
  <pre><code>pierre@pierre-VirtualBox:~/Téléchargements$ python
  Python 2.7.8 (default, Jan 14 2015, 18:34:11) 
  [GCC 4.8.2] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import PyQt4
  Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ImportError: No module named PyQt4
  </code></pre>
  
  <p>I need PyQt4 for another program, but this one doesn't detect PyQt4, while synaptic tells me PyQt4 is installed.</p>
  
  <p>I believe I have messed up with my python versions:</p>
  
  <ul>
  <li><p>on one hand I think that python 2.7.8 became the default python &amp; is recognized by this other programm I want to install (its installation is "manual")</p></li>
  <li><p>on the other hand, the "default" python version for synaptic seems to be 2.7.5 &amp; PyQt4 is installed for this one only</p></li>
  </ul>
  
  <p>Hence, I would like to remove python 2.7.8.
  Please, could someone point me how to do that?</p>
  
  <p>I thank you very much for your help.
  Best regards,</p>
  
  <p>Pierre</p>