I\'m trying to create Python 2.7 virtual env under Python2.6, I\'m simply running:
virtualenv --python=python27 #python27 correctly leads to my python installati
zlib
is a Python module that interfaces with the zlib library on your computer. It is part of the standard library, so it should be on all Python 2.7 installs.
If it's not, in your case, then that likely means that your version of Python was compiled without zlib support for some reason. I can't imagine why, unless it's related to something you did to enable the use of older versions of zlib. I think you will need to find another Python package, or compile Python yourself.