title: How to install a module for python 2.6 on CentOS?
body: <p>After I install python 2.6 on CentOS by:</p>
  
  <pre><code> wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
   sudo rpm -ivh epel-release-5-4.noarch.rpm
   yum install python26
  </code></pre>
  
  <p>Then I install <code>pyPdf</code> by:</p>
  
  <pre><code> yum install pyPdf
  </code></pre>
  
  <p>However, the <code>pyPdf</code> is only available to the old python 2.4:</p>
  
  <pre><code># python
  Python 2.4.3 (#1, Jan  9 2013, 06:49:54) 
  [GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import pyPdf
  &gt;&gt;&gt; import sys
  &gt;&gt;&gt; print sys.path
  ['', '/usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages/Numeric', '/usr/lib/python2.4/site-packages/gtk-2.0']
  </code></pre>
  
  <p>it's not available to the newly install python 2.6:</p>
  
  <pre><code># python26
  Python 2.6.8 (unknown, Nov  7 2012, 14:47:34) 
  [GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import sys
  &gt;&gt;&gt; print sys.path
  ['', '/usr/lib/python26.zip', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/site-packages']
  &gt;&gt;&gt; import pyPdf
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ImportError: No module named pyPdf
  </code></pre>
  
  <p>How can I install <code>pyPdf</code> for python 2.6?</p>