title: Can I make pip install the 32 bit version of a package?
body: <p>I am trying to run PSUtil on a Raspberry PI but keep getting <code>ELFCLASS64</code> errors.</p>
  
  <p>I think this is because I am using the 64 bit version of PSUtil on a 32 bit operating system.</p>
  
  <p>Looking at the PyPi page for PSUtil (<a href="https://pypi.org/project/psutil/" rel="nofollow noreferrer">https://pypi.org/project/psutil/</a>), it states that 32 and 64 bit versions are available.</p>
  
  <p>I am running pip install on a 64 bit OS to package everything together, but the final run time is 32 bit. When the code executes on the final run time (Raspberry PI running Stretch) I get <code>ELFCLASS64</code> errors when Python attempts to import PSUtil.</p>
  
  <p>My build environment is a Docker container running on a 64 bit host OS. Another idea would be to try and make the docker container have the 32 bit version of Python/Pip on it. To that end I have tried to base the container on <code>python:2.7.15-stretch</code> but that also didn't work.</p>
  
  <p>Would be grateful for any ideas on how to solve this problem.</p>