title: CentOS: Two Versions of Python and Packages
body: <p>I'm no Python or CentOS (CloudLinux 6.6 + WHM/cPanel) expert, but I'm trying to install an updated version of Python under CentOS with some extra packages and keeping the system version working.</p>
  
  <p>I managet to get Python 2.7 installed by:</p>
  
  <pre><code>yum groupinstall -y development
  yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel    
  wget https://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz
  tar xzf Python-2.7.6.tgz
  cd Python-2.7.6
  ./configure --prefix=/usr/local
  make
  sudo make alt install
  </code></pre>
  
  <p>If I run <code>python</code> I get <code>Python 2.6.6</code> and <code>python2.7</code> gives me <code>Python 2.7.6</code>. Yum also seems to work fine, so I guess I didn't break the system.</p>
  
  <p>Now, my problem is, I need to get Twistd installed on the Python 2.7, and it needs <code>zope.interface</code> also. </p>
  
  <p>How can I install both of them on the Python 2.7 installation at <code>/usr/local</code>?</p>
  
  <p>Also, after that if I want to run a setup for a twistd plugin and run it under the python 2.7 how should I do it? </p>
  
  <p>Thank you. </p>