title: Fedora: NO module named RPM when using YUM
body: <p>I removed numpy and scipy contents from the system's Python 2.6.4 in order to install different versions for them and now I broke YUM. The error I get is the following:</p>
  
  <pre><code>There was a problem importing one of the Python modules
  required to run yum. The error leading to this problem was:
  
     No module named rpm
  
  Please install a package which provides this module, or
  verify that the module is installed correctly.
  
      It's possible that the above module doesn't match the
      current version of Python, which is:
      2.6.4 (r264:75706, Jun  4 2010, 18:20:31) 
      [GCC 4.4.4 20100503 (Red Hat 4.4.4-2)]
  
      If you cannot solve this problem yourself, please go to 
      the yum faq at:
        http://yum.baseurl.org/wiki/Faq
  </code></pre>
  
  <p>Also when I import YUM from inside the python console I get the following error:</p>
  
  <pre><code>Traceback (most recent call last): 
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;   
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 23, in &lt;module&gt;
  
  import rpm ImportError:
  
   No module named rpm
  </code></pre>
  
  <p>Python is working fine and I managed to install numpy however I want to install scipy using YUM and I can't. Also when I run:</p>
  
  <pre><code>rpm --version
  </code></pre>
  
  <p>I get: RPM version 4.8.1.</p>
  
  <p>Is there a way to solve this issue? I would be grateful for any advice or pointers towards solving this issue.</p>