title: Installing python 32 bit on 64 bit Kubuntu
body: <p>I would like to switch form Windows to Linux for python development. Since I want to use pyside I need a 32 Bit python under my 64 Bit Kubuntu.</p>
  
  <p>Running 32 Bit python under 64 Bit Windows is peace of cake. Under Linux it seems to be a lot of harder which makes me a little bit tired.</p>
  
  <p>I tried to follow this guide: <a href="https://stackoverflow.com/a/5507373">https://stackoverflow.com/a/5507373</a></p>
  
  <p>But I got stuck here</p>
  
  <pre><code>user1@user1-desktop:~/src/virtualenv-1.5.2/virtualenvs$ ~/.localpython/bin/virtualenv py2.7 --python=/home/user1/.localpython/bin/python2.7
  Traceback (most recent call last):
  File "/home/user1/.localpython/bin/virtualenv", line 2, in &lt;module&gt;
  import virtualenv
  File "/home/user1/.local/lib/python2.7/site-packages/virtualenv.py", line 17, in &lt;module&gt;
  import zlib
  ImportError: No module named zlib
  </code></pre>
  
  <p>Doing <code>sudo apt-get install zlib1g-dev</code> and recompile python doesn't help.</p>
  
  <p>So how to fix this?</p>