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.
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.
I tried to follow this guide: https://stackoverflow.com/a/5507373
But I got stuck here
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 <module>
import virtualenv
File "/home/user1/.local/lib/python2.7/site-packages/virtualenv.py", line 17, in <module>
import zlib
ImportError: No module named zlib
Doing sudo apt-get install zlib1g-dev
and recompile python doesn't help.
So how to fix this?