title: How to install active python in virtual environment on centos
body: <p>How can i install <code>ACtive python</code> in virtual env.</p>
  
  <p>I have this problem as in this post answer
  <a href="https://stackoverflow.com/a/7458717/1958218">https://stackoverflow.com/a/7458717/1958218</a></p>
  
  <p>Now that was solved by using active python on centos itself.
  But for django , i am using <code>virtualenv</code> and i get same problem there. But problem is i dont have active python there.</p>
  
  <p>I tried activating virtual env and then use this command
  <code>/opt/ActivePython-2.6/bin/pypm install mysql-python</code> but same error</p>
  
  <p>i want to use something like</p>
  
  <pre><code>/virtualenv/bin/ActivePython-2.6/bin/pypm install mysql-python
  </code></pre>