title: Error with a Python package: "wrong ELF class: ELFCLASS64" (Compiling in 32 bit on 64bit system?)
body: <p>I'm trying to easy_install a Python package called "lxml" on my shared server. However, I had to do that locally, as I cannot fork processes on my online server. </p>
  
  <ol>
  <li>Both my prod and dev server are Ubuntu64, but only my offline dev had python-64, while my prod has 32bit.</li>
  <li>Python version is 2.6.6.</li>
  <li>I'm using virtualenv</li>
  </ol>
  
  <p>So I built it on my dev server (using pip), then I simply uploaded on my prod server (via ftp). But I got this error:</p>
  
  <pre><code>django.core.exceptions.ImproperlyConfigured: Error importing middleware pootle_misc.middleware.siteconfig: "/accounts/gabriobald/www/translate.9thcircle.it/lib/python2.6/site-packages/lxml/etree.so: wrong ELF class: ELFCLASS64"
  </code></pre>
  
  <p>I guess it's because of the binded library etree.so</p>
  
  <p>So, the point is: is there a way to easy_install a Python package in 32 bit on a 64 bit system?</p>