title: No module named yum
body: <p>I tried the solution @<a href="https://stackoverflow.com/questions/18632016/yum-no-module-named-yum">yum---no module named yum</a> and <a href="https://stackoverflow.com/questions/48932847/no-module-named-yum-with-python-2-7">&quot;No module named yum&quot; with Python 2.7</a> but didn't help,it sounds like the yum module is not a stock Python module and need to build yum against your Python 2.7 install,can anyone provide guidance on how to do this?</p>
  
  <p>machine details:</p>
  
  <pre><code>[usernames@machine]$ cat /etc/*elease
  LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
  Oracle Linux Server release 6.6
  Red Hat Enterprise Linux Server release 6.6 (Santiago)
  Oracle Linux Server release 6.6
  </code></pre>
  
  <p>Error:-</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 yum
  
  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.7.12 (default, Aug 11 2016, 12:02:22) 
  [GCC 4.4.7 20120313 (Red Hat 4.4.7-11)]
  
  If you cannot solve this problem yourself, please go to 
  the yum faq at:
    http://yum.baseurl.org/wiki/Faq
  </code></pre>